Thursday, January 30, 2020

Unable to view Google Analytics data for blog

Hi! I was about to begin creating a content + link-building strategy for this website that's built in Bootstrap 4 and the blog which is hosted as a sub-folder on WordPress.

I wanted to start off by creating a baseline but the problem is I'm unable able to see sessions to the blog posts after a certain date but I can see the hits to Home and index pages. The tracking code is installed in the header of index but not in the blog (header.php in WP).

Sitemap for home page ( /sitemap.xml ) is statically generated with the <loc> <lastmod> and <priority> tags.

Here are a list of things that happened in chronological order:

  1. Jan 2nd week - I create sitemap for the blog using Yoast, robots.txt, added the sitemap to robots.txt and submitted to Search Console so it's like /blog/sitemap_index.xml
  2. Jan 2nd week - Search Console discovered all the URLs - 4 pages of home sitemap and 100+ posts and misc stuff for blog sitemap
  3. An error pops up inside the Coverage report sitemap.xml (index) and it reads Submitted URL marked 'noindex' and this has been happening from late October and user agent source is Smartphone.

But the pages are set to index in the robots.txt of the homepage. I can't quit figure out what the issue is.

I did add a Allow : / to the blog robots.txt

[Repost from /bigseo but couldn't find a solution there]

submitted by /u/alex_mercenary
[link] [comments]

from Search Engine Optimization: The Latest SEO News https://www.reddit.com/r/SEO/comments/ew3mr6/unable_to_view_google_analytics_data_for_blog/>

No comments:

Post a Comment