The following example contains one page per type with the respective set values. These values are automatically written to a Tag Integration Data Layer. You can then create these values as parameters in Tag Integration and assign them to the Tracking Plugin.
Example data layer on a product detail page
window._ti = {
"pageLanguage": "en",
"productId": "SW10159",
"productName": "YORK 3",
"productPrice": "599",
"productQuantity": "1",
"currency": "EUR",
"productStatus": "view",
"instock": "12",
"isAvailable": "1",
"currency": "EUR",
"productCat_1_1": "Craft & Tradition",
"productCat_1_2": "Men",
"productCat_1_3": "Business bags",
"productCat_Canonical_1": "Craft & Tradition",
"productCat_Canonical_2": "Men",
"productCat_Canonical_3": "Business bags",
"pageType": "Product details",
"pageId": "en.craft & tradition.men.sw10159"
};
JS
*In the column "Fix" all parameters are marked which are consistent of the same value. The value is always passed in English. For all marked parameters under "Dynamic", the transferred value is determined dynamically.