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": "CATEGORY",
"position": 1
}
,
{
"id": "49118",
"name": "Trek Left Stacked Unisex Hoodie",
"price": "99.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45365",
"name": "Trek Acidic Vibe Unisex Hoodie",
"price": "99.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black_brown",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41973",
"name": "Trek Quilted Crewneck Unisex Sweatshirt",
"price": "49.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41970",
"name": "Trek Sunset Script Unisex Hoodie",
"price": "49.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "49.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41969",
"name": "Trek Department of Fun Unisex Hoodie",
"price": "49.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41972",
"name": "Trek Color Block Logo Unisex Hoodie",
"price": "49.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark_tan",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37317",
"name": "Trek Diamond Patch Hoodie",
"price": "39.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37318",
"name": "Trek Everyone Crewneck Sweatshirt",
"price": "29.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37319",
"name": "Trek Script Crewneck Sweatshirt",
"price": "29.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greydark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "47328",
"name": "Rapha Cotton Hoodie",
"price": "155.0",
"brand": "Rapha",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "47327",
"name": "Rapha Crew neck Cotton Sweatshirt",
"price": "130.0",
"brand": "Rapha",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}