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. Social Media
    4. Social button yes or social button no...

    Social button yes or social button no...

    Social Media
    3 2 404
    • 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.
    • jobintourism
      jobintourism last edited by

      Hi everybody!

      It's quite clear that if you have a pretty, clean, compact html code on your website, Google loves you as a lovely mom does with her kids.

      But it's not a dream world and you have actually to choose between social and clean code.

      In fact to add, for example, the Facebook social button, you have to include some files from the Facebook servers. Even though the googlebot doesn't download them (but people do, with page optimization decreasing), it reads some javascript code. Moreover you have to add some code where you want the button appears.

      I think it hasn't much sense for the googlebot, so that could it be punitive for your website / page to place that bunch of code?

      In the end my question is the following:

      Does the social power win against negative factors like additional files to download and a bunch of ugly code in your body?

      social power > bad factors (file downloading+more code)?

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

        Hello,

        How do you measure "clean, compact code"? As far as I am aware the primary measurement is code validation as per W3C standards (http://validator.w3.org). I checked the line of code you shared and it is valid HTML5 code.

        Google has the ability to crawl invalid code as well. There are millions of sites and many of them use invalid code, including Google.com. I always recommend using valid code but just because code is invalid does not mean Google will have any problem crawling or indexing your site. Each error needs to be evaluated.

        In the case above, there does not seem to be any problem with the code so I do not see any concern in using it. Aside from code optimization, I would still use it. Social media has been shown to offer a greater traffic boost then any other factor. It's a must for your website.

        jobintourism 1 Reply Last reply Reply Quote 0
        • jobintourism
          jobintourism @jenmcardle last edited by

          Thanks for your reply Jamie.

          I think there's not only black and white in code writing. Theoretically you have to produce perfect html/xhtml W3C standards compliant code but you also have to face many changes in standards, the needs of your website, cost ties, velocity issues etc. For example, if you try to validate the piece of code I placed upon, using xhtml 1.1 standard, the w3c website will warn you because you can't use not supported attributes.

          It's clear: Google doesn't need to follow standards, beacuse Google makes the standard, but what really Google thinks about my site without Facebook buttons is the same as it would think with them?  For example if I insert the following piece of code which is a  tag that describes the entity your page represents, what's the googlebot's impression?

          In the end also a visitor will perceive the difference, if he will have to wait additional secs, waiting for the file download, especially if he uses an old single download channel browser.

          I don't know if the sum of all theese issues exceedes the advantages. Does someone has some evidence about it?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • OkCupid's javascript social media button?
            evolvingSEO
            evolvingSEO
            0
            4
            126

          • Social Medial Plugins For Wordpress - G+1 & Facebook Like buttons that don't slow down site
            littlesthobo
            littlesthobo
            0
            2
            294

          • Share buttons or Follow buttons
            IainReloadMedia
            IainReloadMedia
            0
            3
            362

          • Wordpress Social Button Plugins Change
            Marcus_Miller
            Marcus_Miller
            0
            4
            290

          • What is the best Practice for Adding Social Buttons to your Sites from SEO Perspective?
            ShivaS
            ShivaS
            1
            7
            2.0k

          • Social Sharing - Reducing Button Size
            RobertFisher
            RobertFisher
            0
            2
            432

          • What social would be good, what buttons to use
            jennita
            jennita
            0
            5
            715

          • What Social Media Buttons/Links When & Where?
            BTeubner
            BTeubner
            1
            2
            682

          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