Menu Close

Get Support From ShopWired Close

All Systems Are Operational

Subscribe To Updates
Prefer To Live Chat? Chat directly with ShopWired support Available 9.00am to 7.00pm Monday to Friday
11.00am to 5.00pm Saturday
Quickest response time

Send A Message
Response within 24 hours

Menu Close

Menu

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
• Installing the code on your website


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 Themes > Installed Themes from the menu. On your live theme select Page Editor:

On the page that next opens select Views > Templates > master.twig:

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.