Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "47073",
"name": "Checkpoint SL 7 AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "gold_greendark",
"list": "More Options",
"position": 1
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "More Options",
"position": 2
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "46765",
"name": "Checkpoint SL Gen 3 Frame Set",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "41394",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "41398",
"name": "Checkpoint SL 5 Gen 2",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "orange",
"list": "More Options",
"position": 6
}
,
{
"id": "41397",
"name": "Checkpoint SL 6 AXS Gen 2",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark",
"list": "More Options",
"position": 7
}
,
{
"id": "35171",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "More Options",
"position": 8
}
,
{
"id": "35170",
"name": "Checkpoint SL 6 AXS",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_reddark",
"list": "More Options",
"position": 9
}
,
{
"id": "35169",
"name": "Checkpoint SL 5",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_bluedark",
"list": "More Options",
"position": 10
}
,
{
"id": "32559",
"name": "Checkpoint SL 6",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}