Advertisement
Vojkovic

Google ADs Dynamic Remarketing - purchase

Jul 7th, 2024
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.92 KB | None | 0 0
  1. <script>
  2. gtag('event','purchase', {
  3.   'value': 998.55,   // The monetary value of the event. * Set value to the sum of (price * quantity) for all items in items. Don't include shipping or tax.
  4.   'items': [
  5.     {
  6.       'id': 1234,                           // A unique product identifier. The parameter value must match one of the following attributes from your Google Merchant Center Product Feed: id, item_group_id, or display_ads_id.
  7.       'google_business_vertical': 'retail' // Specifies the type of feed used to lookup the product. Value must be set to "retail".
  8.     },
  9.       {
  10.       'id': 2345,                           // A unique product identifier. The parameter value must match one of the following attributes from your Google Merchant Center Product Feed: id, item_group_id, or display_ads_id.
  11.       'google_business_vertical': 'retail' // Specifies the type of feed used to lookup the product. Value must be set to "retail".
  12.     },
  13.   ]
  14. });
  15. </script>
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement