Quantcast
Channel: WordPress.org Forums » [Yoast SEO] Support
Viewing all articles
Browse latest Browse all 41975

AMP Title not set for Google Analytics and Lighthouse

$
0
0

Replies: 1

While the title tag is present in AMP pages, it will not be detected in Google Analytics (not set), nor Lighthouse. It’s similar to the issue found at https://wordpress.org/support/topic/all-amp-visits-tracking-with-page-title-not-set-in-google-analytics/ for another website.

Since it looked like a Lighthouse issue, I filled a bug report @ https://github.com/GoogleChrome/lighthouse/issues/12215

Here’s the comment from one of Lighthouse developers:

I see the title in the source code, but when the page loads I cannot find it. document.querySelector(‘title’) returns null.

I think the title element is getting removed when the page loads somehow.

I don’t quite understand why this happens, but they decided it was not a lighthouse issue and closed the bug. So I’m not sure where to go from here.


Viewing all articles
Browse latest Browse all 41975

Trending Articles