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://ift.tt/3gUSkxY
Comments
Post a Comment