|
Post by account_disabled on Mar 13, 2024 3:30:55 GMT
For the implementation you should insert the so-called code. That is the data layer. This is the ability to transfer specific data in a unified form to analytics tools, including Tag Manager. Our goal is to implement e-commerce. In this case the following information should be included in the data layer. Implement eCommerce using Tag Manager Note that only and are required here. Therefore you will be able to view the sum of each transaction and the order total in . If there are other elements you want to see it's best to add them to the code. For product lists the following fields must be set for each product. Implementing eCommerce using Tag Manager So what would such a code look like? Here is a fully working example script. The variables in the attention code must have exactly the same names Peru Mobile Number List as those provided in the above document. Such code of course has There is dynamic allocation information about the given parameters and products that should be inserted on the order confirmation page above the script that launches Tag Manager. If the tag is already on the page and you think the data has been allocated correctly, you should check to make sure Tag Manager is reading it correctly. This can be done by clicking the Preview button in the interface. Implementing eCommerce using Tag Manager After clicking the Preview button Tag Manager should refresh and display a window like this. Implementing eCommerce using Tag Manager If no window like this appears then the preview in the description has not started at all I mention this because I don't delete the and cache on my personal browser and I suspect this is why the preview sometimes fails to run s reason. NOTE: Click the Refresh button after each change of preview mode. Only then will the tag be validated, checked for errors.
|
|