Installing Google Tag Manager
Google Tag Manager is a tag management system that allows for easier management of tracking scripts and pixels. It can be used to integrate third party platforms into your ShopWired website. You can create a new account, use an existing account and find your container ID at tagmanager.google.com.
Google Tag Manager code
To install Google Tag Manager on your ShopWired website you will need to add code, provided by Google, to your website’s theme files. This code will look similar to this:
It’s important that you use the code with the correct container ID.
Installing the code on your website
To install the code on your ShopWired theme select Page Editor:from the menu. On your live theme select
On the page that next opens select:
This will open the code file for you to edit.
Copy the first set of code from your Google Tag Manager account to your computer’s clipboard. Then in the master.twig file find the closing </head> tag and paste the code just above it, as shown in this example:
Then copy the second set of code from your Google Tag Manager account to your computer’s clipboard. In the master.twig file find the opening <body> tag and paste the code directly after it, as shown in this example:
Select save changes and check that your website is still displaying properly. If the display of your website has been adversely affected you should revert to a previous version of the master.twig file and try again.
Installing the code on your checkout
ShopWired's platform checkout feature is independent of your website's theme and so the code needs to be added separately.
Navigate to the checkout configuration page within your account by selecting 'checkout' from the left menu and then 'platform checkout'. Next, scroll to the 'advanced customisation' section.
Click to save your changes.