Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Track AI Overviews in Keyword Research
      Moz Pro

      Track AI Overviews in Keyword Research

      Try it free!
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. Home
    2. SEO Tactics
    3. Link Building
    4. Could google recognize urls in data-attributes?

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Could google recognize urls in data-attributes?

    Link Building
    2
    5
    2391
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • censeo
      censeo last edited by

      Hi,

      could google's crawler recognize the following example as a link and will be crawl the url?

      • any experience?

        ty for your help

      1 Reply Last reply Reply Quote 0
      • censeo
        censeo @censeo last edited by

        oh..okay, thanks...can't be shown up as url, because it's not used in href or src attribute...

        thanks greg for your help!

        @all other experience are welcome

        1 Reply Last reply Reply Quote 0
        • AndreVanKets
          AndreVanKets @censeo last edited by

          I loaded the link in a program that makes HTML code visible. (For HTML noobs like me) here's a link to the program http://www.pagebreeze.com/

          If you edit the HTML Source with that link, and then view it, nothing is displayed..

          I'm not that clued up with HTML, but from what i can tell, Google wont see that as a link.

          Greg

          1 Reply Last reply Reply Quote 0
          • censeo
            censeo @AndreVanKets last edited by

            sorry, i don't have any other examples..

            What do you mean with html viewer?

            AndreVanKets censeo 2 Replies Last reply Reply Quote 0
            • AndreVanKets
              AndreVanKets last edited by

              After testing that code in an HTML viewer, I would say no, Google wont see that as a link.

              Could you give me a real example of the link?

              Greg

              censeo 1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post

              Got a burning SEO question?

              Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


              Start my free trial


              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.

              • See all categories

              Related Questions

              • MarketAPeel

                Backlinks on Moz not on Google Search Console

                google search console backlinks

                Moz is showing thousands of backlinks to my site that are not showing up on Google Search Console - which is good because those links were created by some spammer in Pakistan somewhere. I haven't yet submitted a disavow report to Google of well over 10K links because the list keeps growing every day with new backlinks that have been rerouted to a 404 page. I have asked Google to clarify and they put my question on their forum for an answer, which I'm still waiting for - so I thought I'd try my luck here. My question... If Moz does not match Google Search Console, and backlinks are important to results, how valid is the ranking that Moz creates to let me know how I'm doing in this competition and if I'm improving or not. If the goal is to get Google to pay attention and I use Moz to help me figure out how to do this, how can I do that if the backlink information isn't the same - by literally over 10 000 backlinks created by some spammer doing odd things... They've included the url from their deleted profile on my site with 100s of other urls, including Moz.com and are posting them everywhere with their preferred anchor text. Moz ranking considers the thousands of spam backlinks I can't get rid of and Google ignores them or disavows them. So isn't the rankings, data, and graphs apples and bananas? How can I know what my site's strength really is and if I'm improving or not if the data doesn't match? Complete SEO Novice Shannon Peel
                Brand Storyteller
                MarketAPeel

                Link Building | | MarketAPeel
                0
              • udaipabla

                Should backlink URLs include www, https, or both???

                My business is located at remotebaba.com, and I am wanting several sites to link to it.
                I am only interested in home page at this point, and we are using HTTPS for our site. Which one of these should I have other sites link to (Please provide complete justification):
                remotebaba.com (my root domain)
                www.remotebaba.com
                https://remotebaba.com
                https://www.remotebaba.com I really appreciate your help!

                Link Building | | udaipabla
                1
              • seomobly

                Does Google index a content in iframe?

                Hello guys, I´ve done a infografic and i want to share it with some bloggers. But, i want to share an iframe, not an image (beacuse there is some links on it). My question: Can Google consider the links inside an iframe (for link building)? Thank you 🙂

                Link Building | | seomobly
                0
              • FLEAR

                Changing url from non www to www.

                basically I have realised i have more page authority and links going to www.onestopmuscle.co.uk instead of onestopmuscle.co.uk. I use wordpress and have no clue how to make sure onestopmuscle.co.uk redirects to www. version. anyone have any ideas? I don't want to mess about with files or i'll most likely make the blog into a disaster.

                Link Building | | FLEAR
                0
              • ProjectLabs

                Value of Link Redirect from Google News

                Some sites are linking to us with the URL from Google News instead of using a direct link. For example: "http://news.google.com/news/url?sa=t&fd=R&usg=ghjgjhggjhgkjghjg&url=http://www.oursite.com/awesome-news-010123/" Does this pass the same value as a normal link? I asked the publisher to replace the link with a normal link but they pushed back saying that the news URL is better.

                Link Building | | ProjectLabs
                0
              • idv

                Site stuck on 2nd page on Google - how can it improve?

                Hi I am working on a site http://www.harrisbassett.co.uk that for search terms such as 'Chartered Accountants Swansea' appears near the top of the 2nd page of Google. When looking at what is listed on the 1st page for 'Chartered Accountants Swansea' I would appreciate any advice/guidance on what else could be done to give the site a final push to get on the 1st page of search results. Over the past 2 weeks I have been building inbound links from local citation sites yelp, qype etc along with sites from competitor analysis via opensiteexplorer. Looking at the sites that are on the 1st page I cant understand why many of them are ranking higher than me? Any insight and plan of attack would be most appreciated from any  search experts on the forum. Many Thanks

                Link Building | | idv
                0
              • mozllo

                Urls rewriting "how to" with .htaccess

                hi, Please i would need advices (links, tips, tool:generator ?) regarding url rewriting through .htaccess (newbee about it). It's a "refurbishing" website case  , the domain doesn't change. But the CMS does ! I've got a list of urls (800) with which i don't want to loose rankings on : Here the type of old url syntax : http://www.mydomain.com/home/newscontent.asp?id=1133 Here the new url type would be: http://www.mydomain.com/name-of-the-article
                or/and
                http://www.mydomain.com/category/Page-2 Tks a lot...

                Link Building | | mozllo
                0
              • debi_zyx

                How does Google interpret articles or prepositions in languages where it's attached to the (key)word?

                Hi, All! This is for any foreign language SEOs where articles or prepostitions such as "the" "to" "in" or anything else are actually part of the word they are modifying and not a separate word, as in English: How does Google understand those words on-page and in anchor text?  If you want to optimize for the word "house", and your content/anchor text says "the house" or "in the house" (again, all one word) - what does Google count that as?  Does it count toward "house"?  Does it count toward "in the house" only?  Does it count toward "house" but not as much as if you had just put "house"? I end up sometimes writing slightly grammatically-off content because I want to optimize for the keyphrase - but is that necessary? Obviously different languages might be different, but you can probably project a little from one to the others. Thanks in advance!

                Link Building | | debi_zyx
                0

              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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy

              Looks like your connection to Moz was lost, please wait while we try to reconnect.