Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "30466",
"name": "Bontrager Solstice Mips Bike Helmet",
"price": "35.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "34591",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 2
}
,
{
"id": "31567",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "25365",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "37123",
"name": "Trek Ballista Mips Road Bike Helmet",
"price": "299.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "More Options",
"position": 5
}
,
{
"id": "34588",
"name": "Trek Velocis Mips Road Bike Helmet",
"price": "249.93",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "More Options",
"position": 6
}
,
{
"id": "40249",
"name": "Trek Circuit WaveCel Helmet",
"price": "159.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "More Options",
"position": 7
}
,
{
"id": "36952",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "104.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 8
}
,
{
"id": "36987",
"name": "Trek Starvos WaveCel Round Fit Bike Helmet",
"price": "104.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "36024",
"name": "Trek Solstice Mips Bike Helmet",
"price": "52.93",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
,
{
"id": "26785",
"name": "Bontrager XXX WaveCel LTD Road Bike Helmet",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "gold",
"list": "More Options",
"position": 11
}
,
{
"id": "25362",
"name": "Bontrager Specter WaveCel Cycling Helmet",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue_bluedark",
"list": "More Options",
"position": 12
}
,
{
"id": "30483",
"name": "Bontrager Solstice Bike Helmet",
"price": "25.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}