Prevent google analytics page view event from firing

Prevent google analytics page view event from firing

roshansachan
Shopify Partner
1 0 0

I am using google analytics integration provided by Shopify. This setting is present in online stores -> preferences -> Google Analytics.
I am reaching a max limit on google analytics because we open the Shopify  store homepage by default for all our users in the background for a better user experience.

I am trying to stop the pageview event from firing which is usually possible using 

 

 

 

gtag('config',UA-XXXXXXXX-X', {
    send_page_view: true/false
});

 

 

 

But this doesn't seem to be working when enabling Google Analytics from Shopify preference.

Replies 0 (0)