if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "46164",
"name": "Domane+ SLR 6",
"price": "6999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49165",
"name": "Domane+ SLR 8 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41482",
"name": "Domane+ SLR 7 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36702",
"name": "Domane+ SLR 6 AXS",
"price": "8499.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36711",
"name": "Domane+ SLR 7",
"price": "8499.97",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36742",
"name": "Domane+ SLR 9",
"price": "12999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white_gold",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36744",
"name": "Domane+ SLR 9 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36701",
"name": "Domane+ SLR 6 Pro",
"price": "7499.97",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36145",
"name": "Domane+ AL 5",
"price": "3499.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36740",
"name": "Domane+ SLR 7 AXS",
"price": "7999.93",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}