Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "44112",
"name": "Trek Velocis Mips Helmet Fit System",
"price": "41.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44940",
"name": "Trek Ballista Mips Helmet Fit System",
"price": "39.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45320",
"name": "Trek Kids Bike Helmet Fit System - Headmaster 3",
"price": "24.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37951",
"name": "Bontrager Circuit WaveCel BOA Helmet Fit System",
"price": "35.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22617",
"name": "Bontrager Velocis Mips BOA Bike Helmet Fit System",
"price": "61.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "22317",
"name": "Bontrager BOA Bike Helmet Fit System",
"price": "61.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "28845",
"name": "Bontrager WaveCel Boa Bike Helmet Fit System",
"price": "52.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "14222",
"name": "Bontrager Bike Helmet Fit System - Headmaster II",
"price": "36.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "32639",
"name": "Bontrager Dialled Bike Helmet Fit System",
"price": "32.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "14224",
"name": "Bontrager Bike Helmet Fit System - Micro Manager II",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "33637",
"name": "Bontrager Jet WaveCel Bike Helmet Fit System",
"price": "23.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "32635",
"name": "Bontrager Quickset II Bike Helmet Fit System",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}