Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
E-ticaret etkinliğindeki bir öğeye
İndirimin değerini içeren discount parametresi. Yüzdeyi kullanmayın
indirimi discount parametresiyle değiştirin.
Örnek
Bir online mağaza, çorap başına 6 TL ödeme alıyor. Bir müşteri 3 çift
çift kişilik çoraplar. Bu örnekte, purchase etkinlik etiketi
şöyle görünür:
gtag("event","purchase",{transaction_id:"T_12345",coupon:"socksSale",value:12.00,// value = quantity x sale pricecurrency:"USD",// The currency of the value, discount, and priceitems:[{item_id:"SKU_12345",item_name:"Socks",discount:2.00,// The discount per itemprice:4.00,// The sale price is the per item list price (6.00) minus discount (2.00)quantity:3// The number of items sold},]});
Bir öğeyi (ör. sattığınız bir ürün) satın almak için kullanılan kupon.
Sipariş kuponu
İndirimli ürünler için belirttiğiniz kupon adı veya kodu.
Öğe geliri
Vergi ve gönderim bedeli hariç olmak üzere, yalnızca öğelerden elde edilen toplam gelir. Öğe
gelir = quantity x price.
Etkinlik düzeyinde indirimler uygulamak istiyorsanız kendi özel indiriminizi oluşturmanız gerekir
ve etkinlik düzeyindeki indirimler hakkında rapor oluşturun.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-10-09 UTC."],[],["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"]]