Call 0845 258 1070

Google Tag Manager App for Shopify

Add Google Tag Manager with Data Layer to your store and order status page.

If you would like your installation configuring free of charge, please email info@niddocks.com with the URL for your store and we will get back to you as soon as possible and carry out the installation for you free of charge.

Take advantage of the full suite of features available in Google Tag Manager and correctly deploy tags such as Google AdWords, Google Analytics, Google Optimise, Facebook, Bing Ads, Twitter in addition to Custom HTML.

Google Tag Manager for Shopify has been created by Niddocks, a Google Analytics Certified Partner and Google Premier Partner with over 15 years experience in online marketing and analytics.

With this app you can ensure that your tracking is always up to date and accurate, take advantage of access to Niddocks’ vast knowledge base and make your store more profitable.

Installation couldn’t be easier – Get the App from the Shopify App Store

Create a new (or use your existing) Google Tag Manager account and container at Google Tag Manager and obtain your Google Tag Manager Container ID

Create a new (or use your existing) Analytics account, property and view at Google Analytics and obtain your Google Analytics Tracking ID

Enter your Google Tag Manager Container ID and Google Analytics Tracking ID into the Shopify App and click “Save Changes”

You can now use the full features of Google Tag Manager and Google Analytics – to make your life even easier, we have sample configurations and examples for you to use and if you get stuck, you can use our support portal to get help with your setup.

Advanced Guide for Google Tag Manager configuration

To take advantage of correct attribution of traffic to conversions, create a new Data Layer Variable with the name gaclientid and set the value of the Data Layer Variable Name to gaclientid

Add a Page View – DOM Ready trigger for the thank you page with Page URL matches RegEx set to thank_you set the name of the trigger to Transaction Complete Page

Ensure that you use the Page View – DOM Ready trigger instead of the default All Pages trigger, this will ensure that your tags fire at the right time and allow for more accurate data capture.
Create a new Page View – DOM Ready trigger with the name All Pages DOM Ready

In your Universal Analytics tag, add a new field in the More Settings > Fields to Set section.
Set the Field Name to clientId and the value to the previously created variable called {{gaclientid}}

Create a Universal Analytics tag with Track Type set to Transaction and set the Field Name to clientId and the value to the previously created variable called {{gaclientid}} as you did in the above step
Set the Tag to fire on the Transaction Complete Page trigger you set up above

Save and publish your changes and carry out a test transaction or wait for a transaction to be completed to check that all is working correctly. You can also use the Google Tag Manager preview tool to check correct implementation.