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": "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": 3
}
,
{
"id": "34653",
"name": "Maillot Trek Solstice",
"price": "89.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14962",
"name": "Jersey de Ciclismo Bontrager Circuit",
"price": "139.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22299",
"name": "Jersey de Ciclismo Bontrager Circuit LTD",
"price": "139.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33477",
"name": "100% Trek Factory Racing Tech Tee",
"price": "49.99",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "grey_bluedark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}