Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "37098",
"name": "Trek Circuit Full-Finger Twin Gel Unisex Cycling Glove",
"price": "34.99",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "24723",
"name": "Bontrager Velocis Women's Softshell Cycling Glove",
"price": "47.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "30955",
"name": "Bontrager Velocis Waterproof Winter Cycling Gloves",
"price": "39.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "24720",
"name": "Bontrager Velocis Softshell Cycling Glove",
"price": "31.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "24721",
"name": "Bontrager Circuit Windshell Cycling Gloves",
"price": "29.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "22826",
"name": "Bontrager Rhythm Women's Mountain Bike Gloves",
"price": "27.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Gloves",
"price": "15.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}