Visão geral
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": "More Options",
"position": 1
}
,
{
"id": "32742",
"name": "Bretelle para Ciclismo Circuit Trek",
"price": "821.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "34659",
"name": "Bretelle para Ciclismo Solstice Trek",
"price": "685.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "32744",
"name": "Bermuda para ciclismo Circuit Trek",
"price": "641.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "32746",
"name": "Bermuda para ciclismo Solstice Trek",
"price": "428.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}