The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Passing link juice via javascript?

    Passing link juice via javascript?

    Intermediate & Advanced SEO
    5 3 597
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PenaltyHammer
      PenaltyHammer last edited by

      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>

      1 Reply Last reply Reply Quote 0
      • SEONOW123
        SEONOW123 last edited by

        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.

        PenaltyHammer 1 Reply Last reply Reply Quote 1
        • PenaltyHammer
          PenaltyHammer @SEONOW123 last edited by

          I think the same but need some more "proofs" like a/b tests or something.

          1 Reply Last reply Reply Quote 0
          • Joe_Stoffel
            Joe_Stoffel last edited by

            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/

            PenaltyHammer 1 Reply Last reply Reply Quote 0
            • PenaltyHammer
              PenaltyHammer @Joe_Stoffel last edited by

              Yes, but article got 1y so it can be not so accurate now.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Will link juice still be passed if you have the same links in multiple, outreach articles?
                GastonRiera
                GastonRiera
                0
                4
                58

              • Directories that Redirect - Do They Pass Link Juice?
                BradsDeals
                BradsDeals
                0
                6
                158

              • Does a non-canonical URL pass link juice?
                Choice
                Choice
                1
                5
                757

              • Sponsored blog - pass any link juice?
                Mike.Bean
                Mike.Bean
                0
                3
                274

              • Do 404 pages pass link juice? And best practices...
                TomRayner
                TomRayner
                1
                2
                1.8k

              • How much link juice could be passed?
                JarnoNijzing
                JarnoNijzing
                0
                3
                295

              • Google+ Personal Page pass link juice?
                iAnalyst.com
                iAnalyst.com
                0
                4
                627

              • Does having multiple links to the same page influence the Link juice this page is able to pass
                AlanMosley
                AlanMosley
                0
                5
                796

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy