if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "42171",
"name": "Pirelli Scorpion Race Enduro S MTB Tire",
"price": "999.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "42170",
"name": "Pirelli Scorpion Race Enduro M MTB Tire",
"price": "999.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42173",
"name": "Pirelli Scorpion Race DH S MTB Tire",
"price": "999.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42172",
"name": "Pirelli Scorpion Race DH M MTB Tire",
"price": "999.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38363",
"name": "Pirelli Scorpion Trail M MTB Tire",
"price": "949.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38364",
"name": "Pirelli Scorpion Enduro R MTB Tire",
"price": "899.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "38374",
"name": "Pirelli Scorpion Enduro M MTB Tire",
"price": "899.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44817",
"name": "Pirelli Scorpion Race XC RC MTB Tire",
"price": "899.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "38226",
"name": "Pirelli Scorpion E-MTB R E-bike Tire",
"price": "889.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "38229",
"name": "Pirelli Scorpion XC H MTB-dekk",
"price": "749.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "38225",
"name": "Pirelli Scorpion XC M MTB-dekk",
"price": "749.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "46689",
"name": "Pirelli Scorpion Trail R MTB Tire",
"price": "749.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}