if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "26244",
"name": "Electra Townie 24" Chainguide Crankset",
"price": "39.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41819",
"name": "Electra Loft Go! 7D Crankset",
"price": "39.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26237",
"name": "Electra Townie Chainguide Crankset",
"price": "39.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35944",
"name": "Electra Townie Go! 7d Gen 2 Crankset",
"price": "34.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12801",
"name": "Electra Single Chainring for 1-Piece Crank",
"price": "29.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "26243",
"name": "Electra Townie Crankset",
"price": "29.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "26234",
"name": "Electra Amsterdam Original 3 Crankset",
"price": "27.49",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32042",
"name": "Electra Hydrive E-bike Chainrings",
"price": "24.99",
"brand": "Electra",
"category": "E-bike drivetrain parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35945",
"name": "Electra Cruiser Go! Crankset",
"price": "24.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "26061",
"name": "VP Components FP-BC63 Square Taper Fat Bike Bottom Bracket",
"price": "17.49",
"brand": "Electra",
"category": "Bike bottom brackets",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "26239",
"name": "Electra Cruiser One-Piece Crank Arm Set",
"price": "12.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "26232",
"name": "Electra Straight 8 3i Crankset",
"price": "10.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "12666",
"name": "Electra Barefoot Pedal Set",
"price": "10.99",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41769",
"name": "Electra Loft Go! 7D Bottom Bracket Cover",
"price": "8.99",
"brand": "Electra",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37569",
"name": "Electra Townie 135 x 12 mm Derailleur Hanger",
"price": "8.99",
"brand": "Electra",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}