if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "34650",
"name": "Maillot Trek Circuit LTD",
"price": "139.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34651",
"name": "Maillot Trek Circuit",
"price": "129.59",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35816",
"name": "Maillot para damas Trek Circuit",
"price": "139.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34654",
"name": "Maillot para damas Trek Solstice",
"price": "89.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34653",
"name": "Maillot Trek Solstice",
"price": "89.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45331",
"name": "Camiseta Santini Réplica del Equipo de Carreras Lidl-Trek",
"price": "184.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14962",
"name": "Jersey de Ciclismo Bontrager Circuit",
"price": "139.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22299",
"name": "Jersey de Ciclismo Bontrager Circuit LTD",
"price": "139.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33477",
"name": "100% Trek Factory Racing Tech Tee",
"price": "49.99",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "grey_bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "14966",
"name": "Jersey de Ciclismo Bontrager Anara para damas",
"price": "129.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}