if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "41618",
"name": "Procaliber 8",
"price": "40000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "30000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "55000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_tealdark",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "33241",
"name": "Procaliber Frame Set Gen 2",
"price": "35000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "34772",
"name": "Trek ProCaliber IsoSpeed Bearing Spacer",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "34192",
"name": "Trek 2021 Procaliber 29 Downtube Armor",
"price": "400.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "34193",
"name": "Trek 2021 Procaliber 29 IsoSpeed Bumper",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "28455",
"name": "Trek 2017 Procaliber Non-SL Downtube Armor",
"price": "400.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "28429",
"name": "Trek 2016 ProCaliber SL 29 Chainstay Armor",
"price": "300.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "34194",
"name": "Trek 2021 Procaliber 29 Lower Chainstay Armor",
"price": "300.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "28456",
"name": "Trek 2017 Procaliber 29 Carbon Chainstay Strike Guard",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "28458",
"name": "Trek 2016 Procaliber SL 29 Carbon Chainstay Strike Guard",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "28457",
"name": "Trek 2016 Procaliber SL 27.5 Carbon Chainstay Strike Guard",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}