if (window.dataLayer) { window.dataLayer.push({ event: "view_item", ecommerce: { currency: "EUR", value: 661, items: [{ item_id: 123254, item_name: "Perserteppich - Nomadic 157 x 104 cm, Wolltepich, Teppichbrücke, Küchenteppich", affiliation: "Google Merchandise Store", coupon: "NVMBR25", discount: 536, index: 0, item_brand: "Morgenland Teppiche", item_category: "Perserteppiche", price: 1197, quantity: 1 }] } }); }

Das könnte dir gefallen

  • -49%
    Perserteppich - Nomadic 157 x 104 cm, Wolltepich, Teppichbrücke, Küchenteppich var itemTitles=document.querySelectorAll('.product-title');itemTitles.forEach(function($itemTitle){var name=$itemTitle.textContent;var pattern=/^(.*?)(\d+ x \d+ cm)/;var match=name.match(pattern);if(match){var firstPart=match[1].trim();var sizePart=match[2].trim();$itemTitle.innerHTML=firstPart+'
    '+sizePart;}});
    518 € 1014 €
  • -46%
    Perserteppich - Nomadic 147 x 102 cm, Wolltepich, Teppichbrücke, Küchenteppich var itemTitles=document.querySelectorAll('.product-title');itemTitles.forEach(function($itemTitle){var name=$itemTitle.textContent;var pattern=/^(.*?)(\d+ x \d+ cm)/;var match=name.match(pattern);if(match){var firstPart=match[1].trim();var sizePart=match[2].trim();$itemTitle.innerHTML=firstPart+'
    '+sizePart;}});
    822 € 1532 €