تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يمكنك تطبيق خصم على سلعة في حدث للتجارة الإلكترونية من خلال إضافة المَعلمة
discount مع قيمة الخصم. عدم استخدام النسبة المئوية
خصم مع المعلمة discount.
مثال
يفرض متجر على الإنترنت رسومًا تبلغ 6 دولار أمريكي لكل زوج من الجوارب. يشتري أحد العملاء 3 أزواج من
جوارب مع خصم بقيمة 2 دولار أمريكي لكل زوج. في هذا المثال، تشير علامة الحدث purchase
على النحو التالي:
تاريخ التعديل الأخير: 2024-09-13 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2024-09-13 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Use the `discount` parameter to apply discounts to items in ecommerce events, representing the total discount amount, not the percentage."],["The example demonstrates applying a per-item discount during a purchase event using the `discount` parameter in gtag.js."],["Reporting on discounts is possible using dimensions like `item_coupon`, `order_coupon`, and metrics like `item_revenue`."],["For event-level discounts, create a custom metric to track and report them separately."]]],["To apply a discount to an item in an ecommerce event, add the `discount` parameter, using the discount value, not a percentage. For instance, if a customer buys three pairs of socks at $6 each with a $2 discount per pair, the `purchase` event tag reflects this. Reports can use \"Item coupon,\" \"Order coupon,\" and \"Item revenue\" to track these discounts. For event-level discounts, custom metrics are needed.\n"]]