if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "36569",
"name": "Chaussettes Trek Race Crew en laine mérinos",
"price": "26.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36570",
"name": "Trek Race Crew Cushioned Merino Wool Cycling Sock",
"price": "32.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36532",
"name": "Chaussettes de cyclisme Trek Race Reflective Crew",
"price": "26.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36534",
"name": "Chaussettes de cyclisme Trek Race Crew",
"price": "24.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36533",
"name": "Chaussettes de cyclisme Trek Race Quarter",
"price": "21.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}