Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "23826",
"name": "Electra Townie 7D EQ 24" Step-Thru Wheels",
"price": "159.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "23827",
"name": "Electra Townie 7D EQ 26" Step-Thru Wheels",
"price": "159.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "bluelight_black",
"list": "More Options",
"position": 2
}
,
{
"id": "23822",
"name": "Electra Townie 3i EQ 26" Wheel",
"price": "159.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "grey_greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "23817",
"name": "Electra Townie 1 26" Wheels",
"price": "63.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "23830",
"name": "Electra Townie 7D 26" Wheel",
"price": "63.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black_greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "36229",
"name": "Electra Townie Commute Go! 5i 700c Wheel",
"price": "63.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "23818",
"name": "Electra Townie 1/7/21 26" Wheels",
"price": "63.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "23824",
"name": "Electra Townie 7D 24" Step-Thru Wheels",
"price": "63.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "23825",
"name": "Electra Townie 7D 26" Step-Thru Wheels",
"price": "63.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "bluelight_greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "23819",
"name": "Electra Townie 21D 26" Wheel",
"price": "63.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "green_greylight",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}