Quantcast
Channel: Matomo forums - Latest topics
Viewing all articles
Browse latest Browse all 13969

Piwik and http/2

$
0
0

@Zauberer_De_Pasco wrote:

Hello community,

I have a question: I am using piwik on my server that works with http/2 support, so I can load all js and css files in parallel.
The standard js tracking code of piwik goes to the head and has g.async=true; g.defer=true; added for non render-blocking loading of piwik.

Though that I use http/2 I don't care about number of requests but I care of loading time of website and the actual tracking code slows down the loading time.

How can I insert the piwik code render-blocking the "old way" ?

Do I have to put g.async=false; g.defer=false; in it and insert the js in the footer ?
Or do I have to use another code snippet than the actual tracking code to load piwik render-blocking ?

Many thanks for your help...

Best Regards,
Markus

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 13969

Trending Articles