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. Technical SEO Issues
    4. Nofollow versus data-href

    Nofollow versus data-href

    Technical SEO Issues
    3 3 581
    • 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.
    • LoyensT
      LoyensT last edited by

      We have a couple of Tier-1 websites that contain a lot of affiliate links. These outgoing affiliate links currently have the rel="nofollow" element.

      Yet, I am seeing a lot of other websites and competitors, use data-href="" instead of nofollow.

      Is the latter better for SEO purposes or are they just using data-href for better tracking?

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

        I can't speak to why the other websites are using data-href; it could be for better tracking, or it might just be a function of their CMS that their links are coded that way. For affiliate links, I strongly recommend using rel="nofollow", as that is the best way to disclose, as it were, to Google that these links are paid for, and not editorial. Using data-href may functionally serve the same purpose, in that data-href links typically don't pass PageRank (to my knowledge), but they don't carry the same weight in terms of demonstrating to Google that you're not trying to hide the nature of the links. It may not matter much one way or the other but rel=nofollow is the best practice.

        1 Reply Last reply Reply Quote 2
        • Saijo.George
          Saijo.George last edited by

          Apparently it won't be considered as a link according to John Muller

          https://twitter.com/Errioxa/status/1005024345650094080?s=19

          Also that was from a few months ago, thing might have changed.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Spammy nofollow links
            Andy.Drinkwater
            Andy.Drinkwater
            0
            6
            143

          • When/where is it better to NOFOLLOW
            WIDE16
            WIDE16
            0
            4
            91

          • 301 with nofollow ?
            indigoextra
            indigoextra
            0
            4
            5.8k

          • Meta-robots Nofollow
            Richard555
            Richard555
            1
            7
            1.2k

          • Added data to links
            Dr-Pete
            Dr-Pete
            0
            7
            305

          • Help With Analytics Data
            mikecp
            mikecp
            0
            10
            416

          • Javascript data
            ahming777
            ahming777
            0
            5
            663

          • 302 vs. a href="nofollow"
            kynop
            kynop
            0
            3
            1.3k

          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