概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "45367",
"name": "Trek Trails Unisex Tシャツ",
"price": "2700.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "green",
"list": "More Options",
"position": 1
}
,
{
"id": "45368",
"name": "Trek Mosaic Unisex Tシャツ",
"price": "2700.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "45365",
"name": "Trek Acidic Vibe Unisex Hoodie",
"price": "12900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black_brown",
"list": "More Options",
"position": 3
}
,
{
"id": "45366",
"name": "Trek Vintage Logo Zip-Up Unisex Hoodie",
"price": "12900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "45369",
"name": "Trek Bicycle Unisex Long Sleeve Henley",
"price": "5900.0",
"brand": "Trek",
"category": "Men's t-shirts & casual",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41976",
"name": "Trek Bicycle Tonal Unisex T-Shirt",
"price": "2900.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tan",
"list": "More Options",
"position": 6
}
,
{
"id": "41977",
"name": "Trek Bicycle Co Pedal 365 Unisex T-Shirt",
"price": "2900.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "40639",
"name": "Trek Check Script Unisex T-Shirt",
"price": "2900.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 8
}
,
{
"id": "40636",
"name": "Trek Radventure Unisex T-Shirt",
"price": "2900.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "brown",
"list": "More Options",
"position": 9
}
,
{
"id": "40637",
"name": "Trek Fade Unisex T-Shirt",
"price": "2900.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tealdark",
"list": "More Options",
"position": 10
}
,
{
"id": "37325",
"name": "トレック In Motion Tシャツ",
"price": "2700.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "white",
"list": "More Options",
"position": 11
}
,
{
"id": "36288",
"name": "Trek Original Unisex T-shirt",
"price": "2700.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "red",
"list": "More Options",
"position": 12
}
,
{
"id": "37326",
"name": "トレック Feel Good Tシャツ",
"price": "2700.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greendark",
"list": "More Options",
"position": 13
}
,
{
"id": "40640",
"name": "Trek Lake Dreams Unisex T-Shirt",
"price": "2700.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "37334",
"name": "トレック Script Jogger スウェットパンツ",
"price": "7900.0",
"brand": "Trek",
"category": "Casual cycling wear",
"variant": "greydark",
"list": "More Options",
"position": 15
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "6900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "More Options",
"position": 16
}
,
{
"id": "41969",
"name": "Trek Department of Fun Unisex Hoodie",
"price": "6900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 17
}
,
{
"id": "41978",
"name": "Trek Fun Badge Unisex Hoodie",
"price": "6900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "reddark",
"list": "More Options",
"position": 18
}
,
{
"id": "37317",
"name": "トレック Diamond Patch フーディ",
"price": "6900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 19
}
,
{
"id": "41973",
"name": "Trek Quilted Crewneck Unisex Sweatshirt",
"price": "6450.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark",
"list": "More Options",
"position": 20
}
,
{
"id": "37320",
"name": "トレック Go By Bike フーディ",
"price": "5900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 21
}
,
{
"id": "36293",
"name": "トレック Vintage Logo フーディ",
"price": "5900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 22
}
,
{
"id": "41970",
"name": "Trek Sunset Script Unisex Hoodie",
"price": "5900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}