Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "40409",
"name": "Fox Racing Ranger Mountain Bike Short with Liner",
"price": "149.99",
"brand": "Fox Racing",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37084",
"name": "Trek Evoke Mountain Bike Shorts",
"price": "89.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41149",
"name": "Trek Rhythm Mountain Bike Shorts",
"price": "69.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22791",
"name": "Bontrager Quantum Fitness Bike Short",
"price": "69.99",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}