Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "47412",
"name": "Fox Racing Defend Mountain Bike Short",
"price": "129.95",
"brand": "Fox Racing",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40409",
"name": "Fox Racing Ranger Mountain Bike Short with Liner",
"price": "99.95",
"brand": "Fox Racing",
"category": "Mountain bike shorts & bib shorts",
"variant": "green",
"list": "More Options",
"position": 2
}
,
{
"id": "40408",
"name": "Fox Racing Defend Mountain Bike Short",
"price": "74.99",
"brand": "Fox Racing",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41149",
"name": "Trek Rhythm Mountain Bike Short",
"price": "99.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "37084",
"name": "Trek Evoke Mountain Bike Short",
"price": "89.93",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "37090",
"name": "Trek Troslo Liner Short",
"price": "59.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "31912",
"name": "100% Celium Mountain Bike Short",
"price": "90.35",
"brand": "100%",
"category": "Mountain bike shorts & bib shorts",
"variant": "black_grey",
"list": "More Options",
"position": 7
}
,
{
"id": "22789",
"name": "Bontrager Evoke Mountain Bike Short",
"price": "69.99",
"brand": "Bontrager",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "36206",
"name": "Endura Engineered Padded Boxer Cycling Liner Short II",
"price": "59.99",
"brand": "Endura",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "40757",
"name": "PEARL iZUMi SELECT Cycling Liner Short",
"price": "30.0",
"brand": "PEARL iZUMi",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "22791",
"name": "Bontrager Quantum Fitness Bike Short",
"price": "29.99",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}