Hello,
I am using mentioned event tracking code for our amp page but it showing "HTML Event attributes, aka 'on*', are not allowed in AMP. Instead use 'amp-bind'." error in the Google search console.
Event Tracking Code: onclick="gtag('event', 'click', { event_category: 'GST Analyst', event_label: 'Play Store', value: 1});"
Please help us, how we can use the event tracking code for AMP pages.
Thanks
[link] [comments]
from Search Engine Optimization: The Latest SEO News https://www.reddit.com/r/SEO/comments/n1077f/how_can_we_add_event_tracking_code_on_amp_pages/>
No comments:
Post a Comment