if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "36061",
"name": "Jaqueta de ciclismo Softshell Trek Circuit",
"price": "1350.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36063",
"name": "Jaqueta de ciclismo impermeável Trek Circuit",
"price": "1350.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36066",
"name": "Trek Circuit Windshell Cycling Jacket",
"price": "1045.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "875.0",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30938",
"name": "Jaqueta para ciclismo Circuit Bontrager",
"price": "699.0",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}