Web GTM Spec (English version)
By using this guideline, you can easily implement Appier's tracking code on your website and speed up on-boarding time for your advertising.
Web GTM Spec - Branding Website
![截圖 2021-07-21 上午10.41.42.png 1127](https://files.readme.io/ff1cf9f-_2021-07-21_10.41.42.png)
- Overview - Home page for all GTM setting
- Tag - Click and implement Appier's tracking code here
- Trigger - Set the trigger rule and bind your tracking code
- Variables - Customize your variables but it's common for e-commerce websites
How to implement Appier's tracking code
- Go into Tags page and click the button New
![截圖 2021-07-21 上午10.43.03.png 1541](https://files.readme.io/a27b80e-_2021-07-21_10.43.03.png)
- Select custom HTML and put Appier's tracking code into HTML block
![截圖 2021-07-21 上午10.43.37.png 1084](https://files.readme.io/5fcd03e-_2021-07-21_10.43.37.png)
How to enable your trigger rule
- Go into Triggers page and click the button New
![截圖 2021-07-21 上午10.44.38.png 1084](https://files.readme.io/a5405ba-_2021-07-21_10.44.38.png)
- Rename your trigger group and click the icon with pencil
![截圖 2021-07-21 上午10.45.16.png 769](https://files.readme.io/d72dbd9-_2021-07-21_10.45.16.png)
- Choose trigger type which matches your scenario (Button-click/Page-URL)
![截圖 2021-07-21 上午10.45.48.png 765](https://files.readme.io/6d537f2-_2021-07-21_10.45.48.png)
Common scenario for branding website
If your KPI is by tracking button-click/conversion page, please follow the below description.
KPI = Tracking button-click: First step is to open your browser's inspector and check on your button (登入領取獎賞) class name. Second step is to copy your button class name.
![截圖 2021-07-21 上午10.46.35.png 769](https://files.readme.io/81a8f02-_2021-07-21_10.46.35.png)
![截圖 2021-07-21 上午10.46.54.png 756](https://files.readme.io/5b32eea-_2021-07-21_10.46.54.png)
Try to select different rules and fulfill the scenario what you want. For button-click part, you can use contains way to match your setting on click classes.
![截圖 2021-07-21 上午10.47.32.png 972](https://files.readme.io/f4e77b4-_2021-07-21_10.47.32.png)
KPI = Tracking conversion page: It's same as KPI = Tracking button-click and you only need to change Click Classes to Page URL. Don't forget to modify the trigger rule and assign the rule to your specific Tags.
![截圖 2021-07-21 上午10.48.22.png 861](https://files.readme.io/c48f8da-_2021-07-21_10.48.22.png)
Updated 9 months ago