daica85
New Member
Hi team,
I'm setting a Dynamic Remarketing campaign in Google Ads, when setting up, it requires tags and event code snippet added to the code.
However, I don't know which variables on the template to pass on:
Instruction: https://developers.google.com/adwords-remarketing-tag/parameters
ecomm_prodid: Required. This is the product ID of the product or products displayed on the current page - the IDs used here should match the IDs in your GMC feed.
ecomm_pagetype:
Indicates the type of page that the tag is on. Valid values:
ecomm_category: This parameter contains a string specifying the category of the currently viewed product or category pages. The string can be any value and does not need to conform to any specific naming convention.
Example:
gtag('event', 'page_view', {
ecomm_pagetype: 'product',
ecomm_prodid: 111111,
ecomm_totalvalue: 9999.99,
ecomm_category: 'Home & Garden',
isSaleItem: false
});
Where can I find these variables in the template?
Thank you,
I'm setting a Dynamic Remarketing campaign in Google Ads, when setting up, it requires tags and event code snippet added to the code.
However, I don't know which variables on the template to pass on:
Instruction: https://developers.google.com/adwords-remarketing-tag/parameters
ecomm_prodid: Required. This is the product ID of the product or products displayed on the current page - the IDs used here should match the IDs in your GMC feed.
ecomm_pagetype:
Indicates the type of page that the tag is on. Valid values:
- home: Used on the home page or landing page of your site.
- searchresults: Used on pages where the results of a user's search are displayed.
- category: Used on pages that list multiple items within a category, for example a page showing all shoes in a given style.
- product: Used on individual product pages.
- cart: Used on the cart/basket/checkout page.
- purchase: Used on the page shown once a user has purchased (and so converted), for example a "Thank You" or confirmation page.
- other: Used where the page does not fit into the other types of page, for example a "Contact Us" or "About Us" page.
ecomm_category: This parameter contains a string specifying the category of the currently viewed product or category pages. The string can be any value and does not need to conform to any specific naming convention.
Example:
gtag('event', 'page_view', {
ecomm_pagetype: 'product',
ecomm_prodid: 111111,
ecomm_totalvalue: 9999.99,
ecomm_category: 'Home & Garden',
isSaleItem: false
});
Where can I find these variables in the template?
Thank you,