if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "45105",
"name": "Capacete para mountain bike Trek Rally WaveCel ",
"price": "1215.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36949",
"name": "Capacetes para mountain bike Rally WaveCel Trek",
"price": "1155.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25359",
"name": "Capacete para mountain bike Blaze WaveCel Bontrager",
"price": "2305.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21848",
"name": "Capacete para ciclismo Bontrager Quantum com Mips",
"price": "910.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21870",
"name": "Capacete para bicicleta Bontrager Quantum",
"price": "855.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31564",
"name": "Capacete para mountain bike Rally WaveCel Bontrager",
"price": "751.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30483",
"name": "Capacete para ciclismo Solstice Bontrager",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}