Advertisement
Vojkovic

Google ADs Dynamic Remarketing - Add to cart

Jul 7th, 2024 (edited)
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. gtag('event','add_to_cart', {
  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. });
  11. </script>
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement