Google Tag Manager Setup

1. EC (EN).png

Google Tag Manager (GTM) can help you easily install various tracking codes and third-party applications into the store without modifying your website code. This reduces errors and saves you from having to ask a website developer to handle them. 


1. Steps to set up

Step 1. Create a Google Tag Manager account

Go to Google Tag Manager page and click "Sign in to Tag Manager" to sign in to your Google Account.EN_Step0.png


After login, click Create Account.EN_Step1.png


Step 2. Set up an account

  • Account name: Enter your store name
  • Country: Select where your store is available



Step 3. Set up a container 

  • Container Name: Change your online store URL. For example, (be sure to change to your store URL.)
  • Target Platform: Web

Click Create to move on to the next step. 



Step 4. Agree with Google Terms of Service

Check the box "I also accept the Data Processing Terms as required by GDPR." under the bottom left of page. and click Yes at the top right corner.EN_Step4.png


When this page shows up, just click X at the top right corner.EN_Step5.png


Step 5. Get Tag Manager ID

Go to your "Container" and copy the Google Tag Manager ID as shown below.EN_Step6.png


Step 6. Install Code

Go back to your SHOPLINE Admin, go to [Marketing & Tracker] > [Tracker Setting] then choose Google Tag Manager.EN_Step7.png


Just paste the copied ID into the input box "GTM-XXXXX" and click Add to save.EN_Step8.png


2. Install third-party tools

If merchants want to embed third-party tools through Google Tag Manager, such as Pop-up windows, Live chat features, etc., it could be done by adding a "Custom HTML" tag. Put the required HTML code into the column. Then set the trigger as "Window Loaded". 

After you have saved the tag, you could click Preview to check the settings. Click Submit to confirm the tag, and click Publish to set done.

Please be reminded that if you embed third-party tools into your shop, it may affect SHOPLINE system functions. Issues such as slow browsing speed may result. SHOPLINE will not be responsible for such issues.





Have more questions? Submit a request