Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "26.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Bontrager Gel Cork Handlebar Tape",
"price": "16.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "14245",
"name": "Bontrager Grippytack Handlebar Tape",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "37298",
"name": "Bontrager Perf Line Handlebar Tape Set",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "22698",
"name": "Bontrager Double Gel Cork Handlebar Tape",
"price": "18.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "37297",
"name": "Bontrager Supertack Handlebar Tape Set",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 6
}
,
{
"id": "47896",
"name": "Trek Perf Line Handlebar Tape Set",
"price": "24.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "48089",
"name": "Trek Double Gel Cork Handlebar Tape Set",
"price": "18.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "47893",
"name": "Trek Gel Cork Handlebar Tape Set",
"price": "16.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility Handlebar Tape",
"price": "16.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}