ই-কমার্স পরিমাপ করা

আপনার ব্যবহারকারীদের কেনাকাটার আচরণ সম্পর্কে তথ্য সংগ্রহ করতে আপনি ই-কমার্স ইভেন্ট সেট-আপ করতে পারেন। ইভেন্টগুলি আপনাকে সবচেয়ে জনপ্রিয় প্রোডাক্টের পরিমাণ নির্ধারণ করতে এবং উপার্জনের উপর প্রোমোশন ও প্রোডাক্ট প্লেসমেন্টের প্রভাব দেখতে সাহায্য করে।

এই ডকুমেন্ট প্রতিটি ই-কমার্স ইভেন্ট এবং কখন ইভেন্ট সেট-আপ করতে হবে তা বর্ণনা করে। ই-কমার্স ইভেন্ট কীভাবে সেট-আপ করতে হয় তার ধাপে-ধাপে উদাহরণ দেখতে, কেনাকাটার ইভেন্ট সেট-আপ করুন নিবন্ধটি দেখুন।

শুরু করার আগে

আপনার ওয়েবসাইটে Google ট্যাগ যোগ করেছেন কিনা এবং Analytics ও ওয়েবসাইট সোর্স কোড অ্যাক্সেস করতে পারছেন কিনা তা ভাল করে দেখে নিন।

সাজেশন

  • ডিবাগ মোড চালু করুন যাতে আপনি রিয়েল-টাইমে ইভেন্ট দেখতে এবং সমস্যার সমাধান করতে পারেন।
  • ই-কমার্স ইভেন্টের সাথে কাস্টম প্যারামিটার পাঠানোর সময় কাস্টম ডাইমেনশন ও মেট্রিক সীমা পর্যালোচনা করুন।
  • value (মোট উপার্জন) ডেটা পাঠানোর সময় ইভেন্ট লেভেলে currency সেট করুন। এটি ট্রানজ্যাকশনের প্রাথমিক মুদ্রা এবং Google Analytics ইন্টারফেসে স্ট্যান্ডার্ড রিপোর্টিংয়ের জন্য ব্যবহার করা হয়।
  • আপনার কাছে ডেটা আছে এমন প্রতিটি ই-কমার্স প্যারামিটার সেট করুন, প্যারামিটারটি ঐচ্ছিক কিনা তা বিবেচনা না করেই।
  • রিপোর্টে ডেটা যাতে সঠিকভাবে দেখানো হয় তা নিশ্চিত করতে, এই ডকুমেন্টে উল্লেখ করা ফর্ম্যাট অনুসরণ করুন। আপনাকে যদি ই-কমার্স অ্যারের বাইরে আইটেম অ্যারে সেট করতে হয়, তাহলে value (মোট উপার্জন) ডেটা পাঠানোর সময় ইভেন্ট লেভেলে currency প্যারামিটার সেট করুন।

Google Ads ডায়নামিক রিমার্কেটিং সেট-আপ করা

ডায়নামিক রিমার্কেটিংয়ের মাধ্যমে আপনি নিজের ওয়েবসাইট ও অ্যাপ ব্যবহারকারীদের এমন বিজ্ঞাপন দেখাতে পারেন যা তারা দেখেছেন এমন নির্দিষ্ট প্রোডাক্ট ও পরিষেবার সাথে প্রাসঙ্গিক। অন্যান্য সুবিধার মধ্যে রয়েছে:

  • সহজ প্রয়োগ: আপনার ওয়েবসাইট ও Google Ads-এর মধ্যে আপনাকে ম্যানুয়ালি প্যারামিটার ম্যাপ করতে হবে না।
  • ইভেন্ট-ভিত্তিক সেট-আপ: ডায়নামিক রিমার্কেটিং চালু করতে, আপনার ব্যবসার ধরনের জন্য সাজেস্ট করা ইভেন্ট প্রয়োগ করুন। ডায়নামিক রিমার্কেটিং ইভেন্ট ও প্যারামিটার সম্পর্কে আরও জানুন।

প্রয়োগ

সাধারণত ই-কমার্স ইমপ্লিমেন্টেশন নিম্নলিখিত যেকোনও অ্যাকশন পরিমাপ করে:

এইসব অ্যাকশনের মূল ভিত্তি হল আপনার বিক্রি করা প্রোডাক্ট ও পরিষেবা। আপনি ই-কমার্স ইভেন্টে যোগ করা যায় এমন আইটেমের অ্যারে হিসেবে প্রোডাক্ট ও পরিষেবা দেখাতে পারেন। নির্ধারিত প্যারামিটার ছাড়াও, আপনি আইটেম অ্যারেতে সর্বাধিক ২৭টি কাস্টম প্যারামিটার যোগ করতে পারবেন, ।

items অ্যারের প্রতিটি আইটেমের জন্য শুধু item_id বা item_name প্রয়োজন, তবে দুটিই প্রদান করার সাজেশন দেওয়া হয়। এছাড়াও, আপনি ঐচ্ছিক প্যারামিটার যোগ করতে পারেন, যেমন price এবং quantity (সেট করা না থাকলে, quantity ডিফল্ট হিসেবে 1-এ সেট করা থাকে):

const minimalItems = [
  {
    item_id: "SKU_12345",
    item_name: "Stan and Friends Tee",
    price: 10.01,
    quantity: 3
  }
];

নিচে দেওয়া বিস্তারিত উদাহরণে এই গাইড জুড়ে উল্লেখ করা সব নির্ধারিত আইটেম প্যারামিটার দেখানো হয়েছে। items অ্যারেতে সর্বাধিক ২০০টি এলিমেন্ট থাকতে পারে।

items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    },
    {
      item_id: "SKU_12346",
      item_name: "Google Grey Women's Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 3.33,
      index: 1,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "gray",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 21.01,
      google_business_vertical: "retail",
      quantity: 2
    }
]

তালিকা থেকে কোনও আইটেম বেছে নিন

ব্যবহারকারীকে ফলাফলের তালিকা দেখানো হলে, view_item_list ইভেন্ট পাঠান যার মধ্যে দেখানো আইটেম সহ items অ্যারে প্যারামিটার থাকবে। পাঠানোর জন্য প্যারামিটার সম্পর্কে বিস্তারিত জানতে, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "view_item_list", {
  currency: "USD",
  item_list_id: "related_products",
  item_list_name: "Related products",
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

ব্যবহারকারী তালিকা থেকে কোনও আইটেম বেছে নিলে, items অ্যারে প্যারামিটারে বেছে নেওয়া আইটেম সহ select_item ইভেন্ট পাঠান। যেসব প্যারামিটার পাঠাতে হবে তার ব্যাপারে বিস্তারিত জানতে, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "select_item", {
  currency: "USD",
  item_list_id: "related_products",
  item_list_name: "Related products",
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

আইটেমের বিবরণ দেখুন

আইটেমের বিবরণ কতবার দেখা হয়েছে তা পরিমাপ করতে, ব্যবহারকারী যখনই কোনও আইটেমের বিবরণ সংক্রান্ত স্ক্রিন দেখেন, তখনই একটি view_item ইভেন্ট পাঠান। পাঠানোর জন্য প্যারামিটার সম্পর্কে বিস্তারিত জানতে, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "view_item", {
  currency: "USD",
  value: 30.03,
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

শপিং কার্টে কোনও আইটেম যোগ করা বা সরানো

items অ্যারেতে প্রাসঙ্গিক আইটেম সহ add_to_cart ইভেন্ট পাঠানোর মাধ্যমে শপিং কার্টে যোগ করা আইটেম পরিমাপ করুন। যেসব প্যারামিটার পাঠাতে হবে তার ব্যাপারে বিস্তারিত জানতে, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "add_to_cart", {
  currency: "USD",
  value: 30.03,
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

এছাড়াও, আপনি items অ্যারেতে প্রাসঙ্গিক আইটেম সহ একটি add_to_wishlist ইভেন্ট পাঠিয়ে, কোনও আইটেম কখন উইশলিস্টে যোগ করা হয়েছে তা পরিমাপ করতে পারেন। কোন কোন প্যারামিটার পাঠাতে হবে সেই বিষয়ে বিস্তারিত জানতে, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "add_to_wishlist", {
  currency: "USD",
  value: 30.03,
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ],
});

ব্যবহারকারী পরে কার্ট দেখলে, কার্টে থাকা সব আইটেম সহ view_cart ইভেন্ট পাঠান। পাঠানোর জন্য প্যারামিটার সংক্রান্ত বিবরণের জন্য, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "view_cart", {
  currency: "USD",
  value: 30.03,
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

কোনও ব্যবহারকারী কখন কার্ট থেকে আইটেম সরিয়ে দিচ্ছেন তা পরিমাপ করতে, remove_from_cart ইভেন্ট পাঠান। পাঠানোর জন্য প্যারামিটার সংক্রান্ত বিবরণের জন্য, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "remove_from_cart", {
  currency: "USD",
  value: 30.03,
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

চেক-আউট প্রসেস শুরু করা

প্রাসঙ্গিক ফিল্ড সহ এক বা একাধিক আইটেম উল্লেখ করে begin_checkout ইভেন্ট পাঠানোর মাধ্যমে চেক-আউট প্রসেসের প্রথম ধাপ পরিমাপ করুন। এই পর্যায়ে, ইভেন্টে কুপন যোগ করে সম্পূর্ণ অর্ডারে কুপন যোগ করা যেতে পারে অথবা items অ্যারেতে নির্দিষ্ট এলিমেন্টে কুপন যোগ করে কোনও নির্দিষ্ট আইটেমে কুপন প্রয়োগ করা যেতে পারে। পাঠানোর জন্য প্যারামিটার সম্পর্কে বিস্তারিত জানতে, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "begin_checkout", {
  currency: "USD",
  value: 30.03,
  coupon: "SUMMER_FUN",
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

কোনও ব্যবহারকারী চেক-আউট প্রসেসের পরবর্তী ধাপে গিয়ে শিপিং সংক্রান্ত তথ্য যোগ করলে, add_shipping_info ইভেন্ট পাঠান। "গ্রাউন্ড", "এয়ার", বা "নেক্সট-ডে"-এর মতো ব্যবহারকারীর ডেলিভারি বিকল্প নির্দিষ্ট করতে shipping_tier প্যারামিটার ব্যবহার করুন। পাঠানোর জন্য প্যারামিটার সম্পর্কে বিস্তারিত জানতে, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "add_shipping_info", {
  currency: "USD",
  value: 30.03,
  coupon: "SUMMER_FUN",
  shipping_tier: "Ground",
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

ব্যবহারকারী তার পেমেন্টের তথ্য জমা দিলে add_payment_info ইভেন্ট পাঠান। প্রযোজ্য হলে, পেমেন্টের বেছে নেওয়া পদ্ধতির জন্য এই ইভেন্টের সাথে payment_type অন্তর্ভুক্ত করুন। পাঠানোর জন্য প্যারামিটার সংক্রান্ত বিবরণের জন্য, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "add_payment_info", {
  currency: "USD",
  value: 30.03,
  coupon: "SUMMER_FUN",
  payment_type: "Credit Card",
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

কেনাকাটা করা বা রিফান্ড ইস্যু করা

প্রাসঙ্গিক ফিল্ড সহ এক বা একাধিক আইটেম উল্লেখ করে purchase ইভেন্ট পাঠিয়ে কেনাকাটা পরিমাপ করুন। পাঠানোর জন্য প্যারামিটার সংক্রান্ত বিবরণের জন্য, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "purchase", {
    transaction_id: "T_12345",
    // Sum of (price * quantity) for all items.
    value: 72.05,
    tax: 3.60,
    shipping: 5.99,
    currency: "USD",
    coupon: "SUMMER_SALE",
    customer_type: "new",
    items: [
     {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    },
    {
      item_id: "SKU_12346",
      item_name: "Google Grey Women's Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 3.33,
      index: 1,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "gray",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 21.01,
      promotion_id: "P_12345",
      promotion_name: "Summer Sale",
      google_business_vertical: "retail",
      quantity: 2
    }]
});

প্রাসঙ্গিক transaction_id সহ refund ইভেন্ট পাঠিয়ে রিফান্ড পরিমাপ করুন এবং item_id ও quantity সহ এক বা একাধিক আইটেম নির্দিষ্ট করুন। Analytics-এ আইটেম-লেভেল রিফান্ড মেট্রিক্স দেখতে, আপনার refund ইভেন্টে আইটেম সংক্রান্ত তথ্য যোগ করার জন্য আমরা সাজেস্ট করি।

পাঠানোর জন্য প্যারামিটার সম্পর্কে বিস্তারিত জানতে, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "refund", {
  currency: "USD",
  transaction_id: "T_12345", // Transaction ID. Required for purchases and refunds.
  value: 30.03,
  coupon: "SUMMER_FUN",
  shipping: 3.33,
  tax: 1.11,
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

প্রোমোশন প্রয়োগ করুন

ই-কমার্সে ইন্টার্নাল প্রচারের ইম্প্রেশন ও ক্লিক পরিমাপ করার সুবিধা অন্তর্ভুক্ত থাকে, যেমন, কোনও সেল প্রচার করার জন্য দেখানো ব্যানার।

প্রোমোশন ইম্প্রেশন সাধারণত প্রাথমিক স্ক্রিন ভিউয়ের মাধ্যমে পরিমাপ করা হয়। এর জন্য প্রোমোশন করা আইটেম নির্দিষ্ট করতে আইটেম প্যারামিটার সহ view_promotion ইভেন্ট পাঠানো হয়। পাঠানোর জন্য প্যারামিটার সম্পর্কে বিস্তারিত জানতে, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "view_promotion", {
  currency: "USD",
  creative_name: "Summer Banner",
  creative_slot: "featured_app_1",
  promotion_id: "P_12345",
  promotion_name: "Summer Sale",
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ]
});

কোনও ব্যবহারকারী কোনও প্রোমোশনে ক্লিক করেছেন তা বোঝাতে, আইটেম প্যারামিটার হিসেবে সেই আইটেমের সাথে select_promotion ইভেন্ট পাঠান। পাঠানোর জন্য প্যারামিটার সম্পর্কে বিস্তারিত জানতে, ইভেন্ট রেফারেন্স দেখুন।

gtag("event", "select_promotion", {
  currency: "USD",
  creative_name: "Summer Banner",
  creative_slot: "featured_app_1",
  promotion_id: "P_12345",
  promotion_name: "Summer Sale",
  items: [
    {
      item_id: "SKU_12345",
      item_name: "Stan and Friends Tee",
      affiliation: "Google Merchandise Store",
      coupon: "SUMMER_FUN",
      discount: 2.22,
      index: 0,
      item_brand: "Google",
      item_category: "Apparel",
      item_category2: "Adult",
      item_category3: "Shirts",
      item_category4: "Crew",
      item_category5: "Short sleeve",
      item_list_id: "related_products",
      item_list_name: "Related Products",
      item_variant: "green",
      location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
      price: 10.01,
      google_business_vertical: "retail",
      quantity: 3
    }
  ],
});