Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "45108",
"name": "Trek Blaze WaveCel Mountain Bike Helmet",
"price": "249.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "grey_bluedark",
"list": "More Options",
"position": 1
}
,
{
"id": "45105",
"name": "Trek Rally WaveCel Mountain Bike Helmet",
"price": "159.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "More Options",
"position": 2
}
,
{
"id": "45079",
"name": "Trek Quantum WaveCel Mountain Bike Helmet",
"price": "124.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "More Options",
"position": 3
}
,
{
"id": "30466",
"name": "Bontrager Solstice Mips Bike Helmet",
"price": "35.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "21848",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "85.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "30483",
"name": "Bontrager Solstice Bike Helmet",
"price": "25.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "40333",
"name": "Fox Racing Speedframe Pro Mips Bike Helmet",
"price": "139.99",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "black_reflective",
"list": "More Options",
"position": 7
}
,
{
"id": "40334",
"name": "Fox Racing Speedframe Mips Bike Helmet",
"price": "99.99",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "greendark",
"list": "More Options",
"position": 8
}
,
{
"id": "44253",
"name": "Fox Racing Proframe RS Bike Helmet",
"price": "359.95",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "greenlight",
"list": "More Options",
"position": 9
}
,
{
"id": "40338",
"name": "Fox Racing Proframe Bike Helmet",
"price": "289.95",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "black_greydark",
"list": "More Options",
"position": 10
}
,
{
"id": "40337",
"name": "Fox Racing Rampage Comp Bike Helmet",
"price": "227.99",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "grey",
"list": "More Options",
"position": 11
}
,
{
"id": "40336",
"name": "Fox Racing Dropframe Bike Helmet",
"price": "134.99",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "black_greydark",
"list": "More Options",
"position": 12
}
,
{
"id": "40339",
"name": "Fox Racing Rampage Bike Helmet",
"price": "134.98",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 13
}
,
{
"id": "36024",
"name": "Trek Solstice Mips Bike Helmet",
"price": "52.93",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}