if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "30240",
"name": "Apidura Racing Saddle Pack",
"price": "171.0",
"brand": "Apidura",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26818",
"name": "Apidura Expedition Handlebar Pack",
"price": "132.0",
"brand": "Apidura",
"category": "Bike bags",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26819",
"name": "Apidura Expedition Compact Frame Pack",
"price": "123.0",
"brand": "Apidura",
"category": "Bike bags",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30239",
"name": "Apidura Racing Frame Pack",
"price": "123.0",
"brand": "Apidura",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34116",
"name": "Apidura Racing Bolt-On Top Tube Bag",
"price": "70.0",
"brand": "Apidura",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34120",
"name": "Apidura Expedition Fork Bag",
"price": "60.0",
"brand": "Apidura",
"category": "Bike bags",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31463",
"name": "Apidura Expedition Top Tube Pack",
"price": "57.0",
"brand": "Apidura",
"category": "Bike bags",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}