if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "14586",
"name": "Nuun Sport + Caffeine Hydration Tablets Box of 8 Tubes",
"price": "55.92",
"brand": "Nuun",
"category": "Cycling nutrition",
"variant": "",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14585",
"name": "Nuun Sport Hydration Tablets Box of 8 Tubes",
"price": "55.92",
"brand": "Nuun",
"category": "Cycling nutrition",
"variant": "",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46132",
"name": "Nuun Sport Powder",
"price": "17.99",
"brand": "Nuun",
"category": "Cycling nutrition",
"variant": "",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44177",
"name": "Nuun Sport Hydration Tablets",
"price": "7.49",
"brand": "Nuun",
"category": "Cycling nutrition",
"variant": "",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44178",
"name": "Nuun Sport + Caffeine Hydration Tablets",
"price": "7.49",
"brand": "Nuun",
"category": "Cycling nutrition",
"variant": "",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}