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.
After login, click Create Account.
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, www.domain.com.tw (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.
When this page shows up, just click X at the top right corner.
Step 5. Get Tag Manager ID
Go to your "Container" and copy the Google Tag Manager ID as shown below.
Step 6. Install Code
Go back to your SHOPLINE Admin, go to [Marketing & Tracker] > [Tracker Setting] then choose Google Tag Manager.
Just paste the copied ID into the input box "GTM-XXXXX" and click Add to save.
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.