if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "49691",
"name": "Trek Right Stacked Unisex Hoodie",
"price": "119.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greenlight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49118",
"name": "Trek Left Stacked Unisex Hoodie",
"price": "119.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41973",
"name": "Trek Quilted Crewneck Unisex Sweatshirt",
"price": "129.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41970",
"name": "Trek Sunset Script Unisex Hoodie",
"price": "129.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "129.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41969",
"name": "Trek Department of Fun Unisex Hoodie",
"price": "129.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45365",
"name": "Trek Acidic Vibe Unisex Hoodie",
"price": "129.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black_brown",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41972",
"name": "Trek Color Block Logo Unisex Hoodie",
"price": "129.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark_tan",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37317",
"name": "Trek Diamond Patch Hoodie",
"price": "119.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37320",
"name": "Trek Go By Bike Hoodie",
"price": "119.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37318",
"name": "Trek Everyone Crewneck Sweatshirt",
"price": "94.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37319",
"name": "Trek Script Crewneck Sweatshirt",
"price": "94.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greydark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "32806",
"name": "Santini Trek-Segafredo Team Lifestyle Hoodie",
"price": "214.99",
"brand": "Santini",
"category": "Trek-Segafredo team apparel",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "47328",
"name": "Rapha Cotton Hoodie",
"price": "180.0",
"brand": "Rapha",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "47327",
"name": "Rapha Crew neck Cotton Sweatshirt",
"price": "150.0",
"brand": "Rapha",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}