Why does the Moz Tool Bar show code as HTML text for my site?
-
When I run my site in the Moz Tool bar, all of the page elements are read correctly except for HTML text.
Sample page: http://www.lifeionizers.com/blog/alkaline-water/electrolyzed-reduced-water
Instead of the text on that page, the tool shows Javascript code:
/*
With a very high character count for text (14,247).
-
We have a partial victory! The Moz Bar works on the blog, but it appears we have a problem with a noscript script on other pages of the site, such as the homepage. The Moz On Page grader works for blog pages now as well. Before this fix, it was showing all F's, no matter how well optimized the page was.
Thanks!
-
Hey,
I took a closer look at your page and it looks like what's happening is that you had a Facebook Script snippet in your body.
I used Chrome's Dev tools to move the script from the body to the end of the head and Mozbar is showing proper words now: http://goo.gl/Zpcwme
It's important to note that I'm not a Javascript developer, so I don't know if there was an explicit reason to have that code there. Generally scripts will need to go in the head tag or on a separate page and referenced. You'd want to confer with your dev team on this to make sure that's a viable solution for you.
But that is what's going on.
I hope that helps.
Cheers,
Joel. -
I removed the Javascript comments but it didn't fix the problem. The Moz Bar now shows the same line of code without the comment code:
(function(d, s, id) { var js, fjs = d.getElementsB...
-
Hi Karasd,
Thanks for writing in. Looks like the MozBar crawler isn't quite smart enough to figure out some of the code on the page, specifically this snippet:
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
MozBar: Page Title (and other data) inconsistent with HTML
In using the MozBar Chrome extension, I have noticed that the data about a page that MozBar displays is sometimes inconsistent with the "head" tag in the HTML of the page. Am I misunderstanding where MozBar is getting the data it is displaying? Other SEO extensions like "META SEO inspector"do not display these inconsistencies. EupH5sG
Moz Bar | | clayjones0 -
Moz Crawler fails on the first page
Hi guys, Can anybody shed some light, I'm running a crawl on a client's website but it's failing on the homepage and not crawling any other pages. It appears to be throwing an 804: HTTPS (SSL) error and then terminating the crawl. Now, the page in question was serving up mixed content up until about 4 days ago, but has since been fixed. I read that we should wait at least 48 hours before initiating another crawl to avoid hitting a cached version - which I did, but it still appears to be having issues. Is there anything specific I can do to get around this issue? I'm on a trial account and this feature is one I'm keen to test, so there is a bit of a time constraint. Any help is greatly appreciated! Thanks in advance!
Moz Bar | | philipdanielhayton0 -
On page grader tool - ip address
Does anyone know Moz's IP address for the above tool so I can give it access to a staging area of our site?
Moz Bar | | Jennie050 -
Does anyone have a good article or video on how to read the SEO MOZ crawl report column by column?
I am trying to find a good how-to on how to read and analyze each column of the SEO MOZ crawl report, specifically, the excel sheet it allows you to export. What I'm really trying to get to the bottom of is what the "Yes" indiciates under rel-cononical. If it says "yes," does this mean that the link in question has been canonoicalized?
Moz Bar | | armcwill0 -
Moz analytics not updating
Okay so I was invited to moz analytics. When I received the email I was stoked to get to use the new beta software. My campaigns transferred over ,but when I began to look at the data, it said updating check back in 24 hours or something along those lines. I thought okay that is fine, but to my suprise it has been around four days since then and it still says it is updating. It also shows weekly stats of visits but the number there is definitely wrong. It said I only had around 2,100 but I get more than that daily. Anyone in support that can help? I'm confused on what I can do to fix this issue. I understand it is just a beta ,but other people, from what I have seen, haven't had a similar issue. If anyone can point me in the right direction I'd appreciate it!
Moz Bar | | ithvac0 -
Keyword Tool using Bing instead of Google
I'm trying to analyze some keywords, and I've selected 'Google' and 'United States' - but when the ranking comes back, it is showing up as the rankings for Bing. Any idea why this continues to happen? Thanks!
Moz Bar | | Marketing-Maven0 -
Moz just did my weekly "crawl" and claims my meta titles and descriptions are "missing," but they aren't. What's up with this?
I can check for my titles and descriptions in the source. They are there, always have been. what in the hell?
Moz Bar | | LifeisRosie0 -
New website launched 3 weeks ago but not sure what Moz Analysis is telling me?
Hi 3 weeks ago I re-branded and completely changed the proposition on www.over50choices.co.uk as the URL is appropriate to the proposition. And whilst it looks good I am unsure what the Moz Tools are telling me, other than it doesnt look good? There should be about 163 pages, but Moz reports over 500 due to i think so many 301's? Plus most pages under the HTTP Status reports No Data! Most of the the 404's are from the old site. Webmaster Tools say 163 pages submitted but only 2 indexed, but on site:search it says about 117 but 40+ of these are the old site. It looks a mess...! Sleepless nights have started - any thoughts!? Thanks Ash
Moz Bar | | AshShep10