Social button yes or social button no...
-
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)?
-
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?
-
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.
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
-
Social Media Sharebar for wordpress
I'm looking to get hold of a really good social media share bar for a Wordpress website so that blog posts can be easily liked and shared. Any plugins to achieve this would be appreciated. Ideally, something like the floating social share bar that Social Media Examiner has would be great: http://www.socialmediaexaminer.com/social-media-roi-tips/#more-56153
Social Media | | Gavo0 -
Social shares: A ranking factor or not?
Open Site Explorer lists them and every so-called SEO expert says social signals/shares are a ranking factor. Everyone but Matt Cutts, it would seem. So if they're not a ranking factor, why show them in Open Site Explorer?
Social Media | | Jeepster0 -
Social data for links
Hey can anyone recommend a tools out there, which can look at a list of urls (over 20+) and it will show the social stats for each url (e.g. number of Facebook Shares, Tweets, etc)? Or a tool which searchers within a certain category or niche (might be based on the keyword you entered), and finds the most shared content? Cheers, Chris
Social Media | | MBASydney0 -
Does social media work with boring clients?
OK, I'm not being rude, but I have a few clients who work in areas that really don't stimulate people - they are just needed. Examples are: Accountants
Social Media | | Gordon_Hall
Chartered Surveyors
Forklift truck suppliers Not the most inspiring list... So my question is whether to pursue the whole social media side of SEO with them. I mean, who wants to "like" their chartered surveyor? Do they have anything interesting to "tweet" about? If anyone has experience of this type of field, then any suggestions would be greatly appreciated,0 -
Social media and google
Do you need exact url brand match to get the benefits of social media noise in the google organic rankings? EG: twitter.com/brandname facebook.com/brandname my url extensions have my brnad but other words in, if i get noise does my website stil benefit in the rankings because it has the url in the profile? or do i need exact match in the url?
Social Media | | pauledwards0 -
Why isn't SEOMoz using Wistia's social sharing feautes?
I noticed that SEOMoz does not make use of Wistia's social sharing buttons such as a Facebook Like button. Is there any disadvantage to using the like button via Wistia rather than copy/pasting it in static HTML?
Social Media | | TheDude0 -
Anyone have a great example of a confirmation page with a social element?
We're thinking of adding social elements to our confirmation page, which as of right now doesn't ask for any specific action. Might as well take advantage. i.e. "Tweet this" or "Share this" with a shortened link to the landing page. Does anyone have any great examples of Twitter/Facebook being incorporated into a confirmation page? Visually pleasing, striking, great copy? It can be a confirmation for any type of action, whether you've just bought something, subscribed to something, joined a site, anything really.
Social Media | | PurchSEO0