if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "32738",
"name": "Bretelle para Ciclismo Velocis Trek",
"price": "1120.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34659",
"name": "Bretelle para Ciclismo Solstice Trek",
"price": "685.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32742",
"name": "Bretelle para Ciclismo Circuit Trek",
"price": "821.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41149",
"name": "Bermuda para mountain bike Rhythm Trek",
"price": "725.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37084",
"name": "Bermuda para mountain bike Evoke Trek",
"price": "1000.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37090",
"name": "Bermuda para ciclismo Trek Troslo Liner",
"price": "515.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32746",
"name": "Bermuda para ciclismo Solstice Trek",
"price": "428.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32744",
"name": "Bermuda para ciclismo Circuit Trek",
"price": "641.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}