How do I uninstall Google Analytics Tracking Code

Highlighted
Tourist
13 0 1

Hello,

I wish to remove (uninstall) the existing google analytics tracking code from my Shopify Debut store to install a new one. 

How do I do that? I read that there will be code left in the script and the new code will not function properly. Please Help.

Thank you,

Z

0 Likes
Highlighted
Community Moderator
Community Moderator
3258 245 558

Hi there, 

Nick here from Shopify. 

This is something which can be done from the main Shopify admin without the need to edit any code. If you go to the Shopify admin > Online Store > Preferences > Google Analytics there is a code linking your Shopify store to your Google analytics account. You can simply replace this code with the new updated Google Anlaytics code and account. Shopify has a helpful guide on setting up Google Analyitcs and linking it to your Shopify store which you can see here

Hope this helps and guides you on how to do this. Any other questions just let us know. 

Cheers, Nick

Nick | Community Moderator @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
Highlighted
Tourist
13 0 1

Hi Nick,

Thank you for your reply.

I was actually intimidated by the step one in the guide that says: 

Step 1: Make sure you don't have Google Analytics enabled already

Enabling Google Analytics more than once will result in inaccurate data.

Could you please confirm that this is not to worry about if I only change the UA- linking code?

Thank You

Z

0 Likes