Lazy loading script with nextjs

Hello,
I’ve recently implemented Piwik PRO on my nextjs App, its working really well but sometime in google lighthouse, piwik is causing Total Blocking Time to be quite high.
I was wondering if i could delay the script injection with the nextjs library or if i need to do it manually.
Thanks in advance,
Léo

Hi @LTS22,

Welcome to our community!

As of right now manually, but I’ll create a Feature Request for this capability.

Best,
Oliwer

1 Like

@LTS22,

Also you mean delaying JSTC or tag manager itself?

Best,
Oliwer