Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41150",
"name": "Trek Rhythm Women's Mountain Bike Shorts",
"price": "",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37090",
"name": "Trek Troslo Liner Shorts",
"price": "",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37084",
"name": "Trek Evoke Mountain Bike Shorts",
"price": "",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37091",
"name": "Trek Troslo Women's Liner Shorts",
"price": "",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41149",
"name": "Trek Rhythm Mountain Bike Shorts",
"price": "",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "37085",
"name": "Trek Evoke Women's Mountain Bike Shorts",
"price": "",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "34847",
"name": "Santini Trek Factory Racing Men's XC Team Replica Bib Shorts",
"price": "",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_bluelight",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}