if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35449",
"name": "G-Form Pro-X3 Elbow Guards",
"price": "59.99",
"brand": "G-Form",
"category": "Protective gear",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31926",
"name": "100% Teratec Knee Guards",
"price": "55.2",
"brand": "100%",
"category": "Protective gear",
"variant": "black_white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35455",
"name": "G-Form Pro-X3 Youth Elbow Guards",
"price": "54.99",
"brand": "G-Form",
"category": "Protective gear",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31927",
"name": "100% Teratec Elbow Guards",
"price": "47.2",
"brand": "100%",
"category": "Protective gear",
"variant": "black_white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33273",
"name": "G-Form Pro-Rugged Knee Guards",
"price": "30.0",
"brand": "G-Form",
"category": "Protective gear",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}