Passing link juice via javascript?
-
Hello
Client got website with javascript generated content. All links there (from mainpage to some deeper page) are js generated. In code there're only javascripts and other basic typical code but no text links (<a href...="" ).<="" p=""></a>
<a href...="" ).<="" p="">The question is: are those js links got the same "seo power" as typical html href links?.For example majestic.com can't scan website properly and can't show seo metrics for pages. I know google crawls them (links and pages) but are they as good as typical links?</a>
<a href...="" ).<="" p="">Regards,</a>
-
Yes, but article got 1y so it can be not so accurate now.
-
Hi Krzysztof,
Not too much information out there regarding how much link equity is passed through a javascript link, however, this study published by Branded3.com shows their evidence that 'pagerank' is passed through JavaScript redirects. Again, I don't know how much equity is being lost due to the JavaScript redirect (if any) but I imagine links would be treated in a similar manner.
https://www.branded3.com/blog/seo-javascript-redirects-evidence-pass-pagerank/
-
I think the same but need some more "proofs" like a/b tests or something.
-
Hi Krzysztof,
It's best practice for internal links to have href attributes. My understanding is although Google will be able to find internal links dependant on JavaScript, they're not treated the same, and that the passing of page rank will be negatively impacted.
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
-
HTTPs to HTTP Links
Hi Mozers, I have a question about the news that Google Chrome will start blocking mixed content starting in December 2019. That starting in December 2019, users that are presented insecure content will be presented a toggle allowing those Chrome users to unblock the insure resources that Chrome is blocking. And in January 2020, Google will remove that toggle option an will just start blocking mixed content or insecure web pages. Not sure what this means. What are the implications of this for a HTTPS page that has an HTTP link? Thanks, Yael
Intermediate & Advanced SEO | | yaelslater0 -
Wrong titles in site links
Hello fellow marketers, I have found this weird thing with our website in the organic results. The sitelinks in the SERP shows wrong written text. As in grammatically incorrect text. My question is where does Google get the text from? It is not the page title as we can see it. kKsFv0X.png
Intermediate & Advanced SEO | | auke18101 -
URL Value: Menu Links vs Body Content Links
Hi All, I'm a little confused. I have read a number of articles from authority sites that give mixed signals over the importance of menu links vs body content links. It is suggested that whilst all menu links spread link juice equally, Google does not see them as favourably. Inserting a link within the body will add more link juice value to the desired page. Any thoughts would be appreciated. Thanks Mark
Intermediate & Advanced SEO | | Mark_Ch0 -
Links in body text
From a purely SEO /link juice perspective, is there any benefit to linking from body text to a page that is in a pervasive primary navigation? The primary nav puts a link at the top of the HTML. With the tests done by members of this site, the "first link counts" rule negates the link juice value of a link in the body text if there is already a link in the nav. Now I've also seen the data on using hash tags to get a second or third link, but ignoring that, it would seem that links in the body text to pages in the nav have zero effect. This brings me to another question - block level navigation. If anchor text links pass more juice than links in the top navigation, why would you put your most coveted target pages in the top nav? You would be better off building links in the content, which would create a poor user experience. To me, the theory that anchor text links in the body pass more juice than links in the primary nav doesn't make any sense. Can someone please explain this to me?
Intermediate & Advanced SEO | | CsmBill0 -
How to minimalise links in your footer
Hi guys, I'm working on the website to improve the internal linking structure. We have thousand of pages, and on every single page we have the same footer with the same links. For this reason I would like to change the footer in only relevant links for the user, but also for the robots. So for the user I leave in the general main links Home / Contact / Promotions and customise a part of the links to specific links about the section they are looking at. Now my idea was to add to the General Main links a Nofollow, so I direct the robots in a better structure about how to read the website. I have been reading a lot about internal linkbuilding- like http://www.seomoz.org/blog/smarter-internal-linking-whiteboard-friday and http://www.seomoz.org/learn-seo/internal-link http://www.searchenginejournal.com/information-architecture-rocket-science-simplified/22503/ and a lot more, too much to display all. but my question would be, is it smart to internally start using NOFOLLOW's on links. because I do found also some negative comments on this approach http://www.dashboardjunkie.com/noindex-nofollow-canonical-and-disallow I hope to get some feedback from the community to make up my mind.
Intermediate & Advanced SEO | | Letty0 -
Where do I start with cleaning up our link profile?
We have just taken the steps to start building links to www.towelsrus.co.uk, I am concerned about the state of external links to the site created by previous companies, i.e are they OK, or doing us harm, could I get more out f whats already in place or should we focus purely on getting new links? We also have about 25 pages that have 302 errors and contain external links to the site. What should i do with these. try and get them re-directed to our site with appropriate anchor text or simply put a 301 re-direct in place? In essence where I start, We want to build and increase traffic in particular for towels, bathrobes, dressing gowns and bolster our position as our positions are fluctuating a little but steadier than they have been. Any help appreciated.
Intermediate & Advanced SEO | | Towelsrus0 -
Deferred javascript loading
Hi! This follows on from my last question. I'm trying to improve the page load speed for http://www.gear-zone.co.uk/. Currently, Google rate the page speed of the GZ site at 91/100 – with the javascript being the only place where points are being deducated. The only problem is, the JS relates to the trustpilot widget, and social links at the bottom of the page – neither of which work when they are deferred. Normally, we would add the defer attribute to the script tags, but by doing so it waits until the page is fully loaded before executing the scripts. As both the js I mentioned (reviews and buttons) use the document.Write command, adding this would write the code off the page and out of placement from where they should be. Anyone have any ideas?
Intermediate & Advanced SEO | | neooptic0 -
Javascript
Hi there, Quick question: Does Google parse javascript? I have a html ad which contain the anchor text linking to one of our product pages, however the ad unit are javascript based and from this the code is not visible on page source through the browser. Kind Regards
Intermediate & Advanced SEO | | Paul780