Result from Google Search from Mobile is missing amp-analytics element - wordpress

We are facing one issue with the AMP pages coming from Google Search Result in mobile. Google removed <amp-analytics> automatically from the website page and Google Analytics is not able to track the clicks.
Our website is Sportswhy
Original AMP page - https://sportswhy.com/amp/
AMP page from Google search - https://www.google.com/amp/s/sportswhy.com/amp/
We are using Astra theme on wordpress with ampforwp plugin for AMP support. Thanks in advance.

I don't know about the AMPforWP plugin but I do know that if you're using the official AMP plugin then it strips out any duplicate or invalid amp-analytics markup. That is to say if you've inserted any amp-analytics markup or script requests within your theme it's possible they may have been removed by the plugin if there were syntax or placement errors.

Related

How to bring up WordPress post/blog thumbnails on facebook?

I'm using the automator uncanny plugin and the "recipe" status is working just so I have a little problem about my post/blog thumbnail not showing up.
how to overcome it? should I add the og:image meta tag? if so, what part should I put it in?
Facebook from wordpress using the automator plugin, only thumbnails of the automatic results do not show on my facebook
Use SEO plugin(All in One SEO for WordPress or Yoast…etc / Rank Math is good nowaday)
Resize thumbnail image(630*1200..etc)
And use facebook debugger site for cleaning facebook cache

Unknown Google Analytics tracking ID

I've used Google Tag Assistant in Chrome, and it says I have two Google Analytics tags # https://brand.insightdesign.com.au/
Inside our child theme's header.php I have Google Tag Manager installed.
Google Tag Manager deploys the correct Google Analytics tracking ID.
I don't know where the UA-164939599-1 GA property is coming from.
If I view the source of the webpage, I can't see this property ID.
There is no footer.php or theme-footer.php in the Divi child theme.
Help appreciated.
Edit: I wonder if it is coming from a 3rd party plugin tracking their plugin use?
The tag is added to the DOM:
Try to disable one plugin at a time and you will find the one responsible for unwanted tracking.

Google Analytics Page Title is Showing up as H1 Tag

I have been given the task of trying to figure out why Google Analytics page titles are showing up as the H1 for every other Page Title.
It is only happening inside of
Behavior / SiteContent / All Pages
in Google Analytics, but when you go to the site it has the correct page title.
I thought it might be a cache problem but it just happened again on a new post.
I am using Wordpress, Yoast plugin, and PHP. Has this ever happen to anyone else?

How to keep navigating on AMP version only?

I am using a AMP plugin which integrated in the themes named Newspaper,
but this AMP plugin do not support in keeping user browsing on AMP version users navigate to other articles. Can any body help? I find the function is_amp_endpoint() but I dont know how to use it in the case?
AMP Sidebar can help you, i.e. https://amp.dev/documentation/components/amp-sidebar/
Example: https://gist.github.com/debabratakarfa/bbeb4d5c681290078def38e07b9af2b0

Find Google adsense tags in a webpage

I am trying to manage google Adsense using the official plugin. the plugin rejects adding any extra ads to the page since it thinks there are more than three ads in the page. Actually, I am having only two ads there one in the header which appears on all pages and one on a sidebar widget.
Is there any way to find if there really 3 tags?
the issue is on product pages like this http://safetyandsecuritycameras.com/wp-admin/options-general.php
the home page http://safetyandsecuritycameras.com/ is ok
You could try out WP QUADS a WordPress plugin for AdSense integration. It has a function to count and highlight the ads on a page to make sure that no more than the allowed ads are used.
It also allows you to limit the ads on your WordPress site to a maximum:
Details of the plugin can be found on http://wpquads.com/
You find the free version of the plugin on https://wordpress.org/plugins/quick-adsense-reloaded/
You can use the default wordpress text widget for adsense. You can try that.

Resources