if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "23848",
"name": "Electra Cruiser 7D Men's Tall Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23843",
"name": "Electra Cruiser 7D 24" Ladies' Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37577",
"name": "Electra Bali Cruiser Go! Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23840",
"name": "Electra Cruiser 1 Men's Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "blue_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26685",
"name": "Electra Loft-7i Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "26684",
"name": "Electra Loft-7D Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "tan",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37565",
"name": "Electra Cruiser 7D Men's Steel Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37575",
"name": "Electra Cruiser Go! Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "pink",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "23838",
"name": "Electra Cruiser 1 26" Ladies' Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "tan",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "26696",
"name": "Electra Townie-7D Chainguard",
"price": "17.49",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "bluelight_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "14842",
"name": "Electra Townie 1 Chainguard",
"price": "17.49",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "white",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "26694",
"name": "Electra Townie-3I EQ Chainguard",
"price": "17.49",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "tan",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "26695",
"name": "Electra Townie-7D 24" Chainguard",
"price": "17.49",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "bluelight_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "12798",
"name": "Electra Heartchya 20" Chainguard",
"price": "17.49",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "white",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "22066",
"name": "Electra Loft GO! Chainguard",
"price": "17.49",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "white",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "28384",
"name": "Electra Townie 7D Men's Chainguard",
"price": "17.49",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "bluedark_greylight",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "26679",
"name": "Electra Water Lilly 16" Chainguard",
"price": "17.49",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "pink",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "27156",
"name": "Electra Café Moto Go! Ring Guard",
"price": "12.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}