Event snippet for page view?
-
Does this plugin also add Google’s event snippets for page views? EX:
<script> gtag('event', 'page_view', { 'send_to': 'AW-123456789', 'value': 'replace with value', 'items': [{ 'id': 'replace with value', 'google_business_vertical': 'retail' }] }); </script>
if not, what parameters do i need to add in the above code (where it says “replace with value”) before adding it to my website?
Backstory: We are getting an error in our Google Ads shopping campaign, with the following message:
Fix your audience source that’s not sending a required parameter:
Your audience source may not have the required parameter
for your business type on all relevant pages or events.
Check that you’re passing the required parameter for your
business type anytime users interact with products or
services you want to advertise. Note that Google Analytics
refers to parameters for remarketing as Dynamic Attributes.
Issue: ecomm_prodid never receivedI cannot figure out why we are getting this error, if all settings in backend for your plugin, and our google shopping feed, and adwords, are set up EXCEPT for the event snippet above — I don’t see a place to add it in your plugin, so I wasn’t sure if it was being sent automatically or not.
Thank you so much!
- The topic ‘Event snippet for page view?’ is closed to new replies.