if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37084",
"name": "Short VTT Trek Evoke",
"price": "164.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "37082",
"name": "Teeshirt technique VTT Trek Evoke",
"price": "59.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "37085",
"name": "Shorts VTT Trek Evoke pour femmes",
"price": "164.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "37083",
"name": "Teeshirt technique VTT Trek Evoke pour femmes",
"price": "59.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}