Modify Google Analytics "siteSpeedSampleRate"

Highlighted
Shopify Partner
4 0 0

Hi,

  I would like to modify the default "siteSpeedSampleRate" that shopify adds to my shop. From what I have seen in the source code this is the code in charge of adding that property:

trekkie.load(
{"Trekkie":{"appName":"storefront","development":false,"defaultAttributes":{"shopId":xxxxxx}},"Performance":{"navigationTimingApiMeasurementsEnabled":true,"navigationTimingApiMeasurementsSampleRate":0.1},"Google Analytics":{"trackingId":"UA-xxx-1","domain":"auto","siteSpeedSampleRate":"10","enhancedEcommerce":true,"doubleClick":true,"includeSearch":true}}
);

How can I modify these values? I would like to change "siteSpeedSampleRate" but this code seems to be automatically inserted on my webpage and I don´t know how to change the values.

Any ideas?

 

Thanks a lot

0 Likes
Highlighted
New Member
1 0 0

Any updates on this?

 

0 Likes