Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "29978",
"name": "Trek 2020 Supercaliber 29 Chainstay Strike Guard",
"price": "899.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "29948",
"name": "Trek 2020 Supercaliber 29 Rotor Strike Guard Large Stays",
"price": "899.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "28442",
"name": "Trek 2017 Fuel EX 29/Remedy 27.5 Aluminum Downtube Armor",
"price": "899.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "28465",
"name": "Trek 2017 Slash 29 Carbon Downtube Armor",
"price": "799.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "28443",
"name": "Trek 2017 Fuel EX 29/Remedy 27.5 Aluminum Chainstay Armor",
"price": "599.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "27509",
"name": "Bontrager Bowie & Haru Pro Fork Carbon Armor Kit",
"price": "499.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "29924",
"name": "Trek 2020 Supercaliber & Top Fuel 29 Downtube Scuff Guard",
"price": "299.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "white",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}