Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "48875",
"name": "Garmin Forerunner 165 Smartwatch",
"price": "249.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44337",
"name": "Garmin Enduro 2 Smartwatch",
"price": "999.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "41382",
"name": "Garmin fēnix® 7X Solar Smartwatch",
"price": "799.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "grey_black",
"list": "More Options",
"position": 3
}
,
{
"id": "37949",
"name": "Garmin Forerunner 945 LTE Smartwatch",
"price": "649.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41380",
"name": "Garmin epix Gen 2 Smartwatch",
"price": "639.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "greydark_greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "44104",
"name": "Garmin Forerunner 955 Solar Smartwatch",
"price": "599.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "44103",
"name": "Garmin Forerunner 955 Smartwatch",
"price": "499.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "42184",
"name": "Garmin Instinct 2 Solar Smartwatch",
"price": "399.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "greydark",
"list": "More Options",
"position": 8
}
,
{
"id": "35083",
"name": "Garmin Forerunner 745 Smartwatch",
"price": "375.0",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "teal",
"list": "More Options",
"position": 9
}
,
{
"id": "44105",
"name": "Garmin Forerunner 255 Smartwatch",
"price": "349.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "greydark",
"list": "More Options",
"position": 10
}
,
{
"id": "41781",
"name": "Garmin Instinct 2 Smartwatch",
"price": "299.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "greydark",
"list": "More Options",
"position": 11
}
,
{
"id": "37950",
"name": "Garmin Forerunner 55 Smartwatch",
"price": "199.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "44265",
"name": "Garmin HRM Pro Plus Heart Rate Monitor",
"price": "129.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "14602",
"name": "Bontrager ANT+/BLE Softstrap Heart Rate Belt",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}