Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "49691",
"name": "Trek Right Stacked Unisex Hoodie",
"price": "99.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greenlight",
"list": "More Options",
"position": 1
}
,
{
"id": "49118",
"name": "Trek Left Stacked Unisex Hoodie",
"price": "99.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45365",
"name": "Trek Acidic Vibe Unisex Hoodie",
"price": "99.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black_brown",
"list": "More Options",
"position": 3
}
,
{
"id": "41973",
"name": "Trek Quilted Crewneck Unisex Sweatshirt",
"price": "49.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark",
"list": "More Options",
"position": 4
}
,
{
"id": "41970",
"name": "Trek Sunset Script Unisex Hoodie",
"price": "49.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "49.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "More Options",
"position": 6
}
,
{
"id": "41972",
"name": "Trek Color Block Logo Unisex Hoodie",
"price": "49.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark_tan",
"list": "More Options",
"position": 7
}
,
{
"id": "41969",
"name": "Trek Department of Fun Unisex Hoodie",
"price": "49.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 8
}
,
{
"id": "37317",
"name": "Trek Diamond Patch Hoodie",
"price": "39.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 9
}
,
{
"id": "37318",
"name": "Trek Everyone Crewneck Sweatshirt",
"price": "29.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "More Options",
"position": 10
}
,
{
"id": "37319",
"name": "Trek Script Crewneck Sweatshirt",
"price": "29.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greydark",
"list": "More Options",
"position": 11
}
,
{
"id": "47328",
"name": "Rapha Cotton Hoodie",
"price": "155.0",
"brand": "Rapha",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}