JavaScript encoded links on an AngularJS framework...bad idea for Google?
-
Hi Guys,
I have a site where we're currently deploying code in AngularJS. As part of this, on the page we sometimes have links to 3rd party websites.
We do not want to have followed links on the site to the 3rd party sites as we may be perceived as a link farm since we have more than 1 million pages and a lot of these have external 3rd party links.
My question is, if we've got javascript to fire off the link to the 3rd party, is that enough to prevent Google from seeing that link? We do not have a NOFOLLOW on that currently.
The link anchor text simply says "Visit website" and the link is fired using JavaScript.
Here's a snapshot of the code we're using:
Visit website
Does anyone have any experience with anything like this on their own site or customer site that we can learn from just to ensure that we avoid any chances of being flagged for being a link farm?
Thank you
-
Hm, I'd be a little concerned if GSC can see it. Maybe GSC can see that JS turns it into a link, but can't figure out what that link is?
Any way, sounds like your hands are kind of tied until you can get those nofollows! Definitely make a note in your analytics platform when you get them implemented - it'll be interesting to see what effect they have on your rankings.
Good luck!
Kristina
-
Hi Kristina,
First of all, thank you for taking the time out to respond.
Very valid rationale you provided. I did have a look at the cache version before I posted on here and it didnt show the link I was looking for, however the GSC screen showed the link highlighted as a link.
That's what got me confused. I guess its safe to assume in that case that it wont be seen by Google considering it's not in the text version of the cached page.
I'll work on getting a NOFOLLOW in there since there's no guarantees with Google when they change stuff around. But, its great to know that it isnt an immediate requirement at the moment...
Thank you again Kristina!
-
Hi Kavit,
The short answer is no. Google can render some JS - possibly even AngularJS - so never assume that something rendered in JS is invisible to Google. You should assume that Google can see all links visitors can, and really push for a nofollow tag.
I usually check what Google can render by loading Google's cache of the page (go to Google.com and type in "cache:" in front of the exact URL of one of your pages). Look at the text-only version of the cache, and see if Google puts a link there. If they do, it's safe to assume that they can see that link. Another option is to use GSC to Fetch as Google; Google claims this is exactly what they're seeing.
If both the cache and GSC show that Google can't see a link, Google's probably not crawling it. But, Google's always getting better, and could suddenly see the links any day now. If these links are really a concern to you, I'd strongly suggest that you push your dev team to add nofollow tags to these outgoing links.
Best,
Kristina
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
-
Which is Important? Backlinks or Internal Links? For SEO purpose.
Which is Important? Backlinks or Internal Links? For SEO purpose.
White Hat / Black Hat SEO | | BBT-Digital0 -
Thumbtack Blatantly Violating Google TOS?
Hi, We have a business registered on Thumbtack so we receive their newsletters. I'm aware that review sites offering a "badge" or verification logo which links back to your profile is nothing new. But the email I received from Thumbtack is a fairly blatant attempt to game Google for popular keywords. I was just curious on your thoughts about this. I believe it was Overstock who did something like this and got slapped by Google pretty hard for a while. Could Thumbtack be heading down the same path? Image: http://i.imgur.com/FWPnmEP.jpg
White Hat / Black Hat SEO | | kirmeliux0 -
Does Google crawl and index dynamic pages?
I've linked a category page(static) to my homepage and linked a product page (dynamic page) to the category page. I tried to crawl my website using my homepage URL with the help of Screamingfrog while using Google Bot 2.1 as the user agent. Based on the results, it can crawl the product page which is a dynamic. Here's a sample product page which is a dynamic page(we're using product IDs instead of keyword-rich URLs for consistency):http://domain.com/AB1234567 Here's a sample category page: http://domain.com/city/area Here's my full question, does the spider result (from Screamingfrog) means Google will properly crawl and index the property pages though they are dynamic?
White Hat / Black Hat SEO | | esiow20130 -
Should I Disavow More Links
My SEO website got hit with a very severe penalty about a year ago and it was totally banished from the rankings for all of the money terms like SEO, SEO company and search engine optimisation (before the penalty I ranked in the top 10-15 for all of those phrases, top 3 for SEO company). I was probably hit for being listed in shed loads of paid directories, low quality free directories, footer links in client sites, keyword forum signature links and articles with keyword rich text links. A month or so after I got hit I started trying to clean up my link profile, I got rid of all of the client website links, I changed the link text on the majority of forum signature links and article links, I managed to get rid of about 50 directory links and the ones that I could not get taken down I disavowed - about 150. During that time I sent 2-3 separate reconsideration requests and I got this message each time: "Links to your site violate Google's quality guidelines" After doing all of that work and being rejected I pretty much gave up - things just seemed to get worst, not only was I no longer ranking for the money terms, but all of my blog posts tanked as well. I got my site redesigned and switched to Wordpress - I used 301 redirects and everything but they totally didn't work. My organic traffic went down to less than 50 hits a day - before the penalty I was getting over 300 a day. Then on Saturday just gone, almost exactly a year after I got hit with the penalty I noticed my site ranking in position 23 on Google.co.uk in the UK for the competitive phrase SEO company from being absolutely nowhere and I do mean nowhere. This sign has given me hope and the motivation to get rid of the penalty altogether, update all of my articles, get rid of bad advice in old blog posts and get rid of the rest of the bad links. Thing is that I am nervous to go getting rid of more links and disavowing, what if I do more harm then good? Do you think the penalty has been removed and I should just leave the rest of the bad links or should I continue trying to clean things up? By the way, my website is http://www.seoco.co.uk
White Hat / Black Hat SEO | | Eavesy1 -
Site-wide links: Nofollow or eliminate altogether?
As a web developer, it's not uncommon for me to place a link in the footer of a website to give myself credit for the web design/development. I recently decided to go back and nofollow all these site-wide footer links, to avoid potentially looking spammy. I wanted to know if I should remove these links altogether, and just give myself text credit without a link at all? I would like for a potential client who is interested in my work to still be able to get to my site if they like my work - but I want to keep my link profile squeaky clean. Thoughts?
White Hat / Black Hat SEO | | brad.s.knutson0 -
How to recognize Panda, Penguin or Unnatural Links Penalty ?
Hey guys, today I've received below message from Google, but I'm confused that there NO such message in WMT ?!??!?!?! I've login /out few times and situation is still same ?!?!? Still Nothing there ? Anybody had same issue ? Do I need to fill reconsideration request ? Pleased to hear back from you guys. NikoT Google Webmaster Tools notice of detected unnatural links to .com/ Dear site owner or webmaster of , We've detected that some of your site's pages may be using techniques that are outside Google's Webmaster Guidelines. Specifically, look for possibly artificial or unnatural links pointing to your site that could be intended to manipulate PageRank. Examples of unnatural linking could include buying links to pass PageRank or participating in link schemes. We encourage you to make changes to your site so that it meets our quality guidelines. Once you've made these changes, please submit your site for reconsideration in Google's search results. If you find unnatural links to your site that you are unable to control or remove, please provide the details in your reconsideration request. If you have any questions about how to resolve this issue, please see our Webmaster Help Forum for support. Sincerely, Google Search Quality Team
White Hat / Black Hat SEO | | NikoT0 -
Feedback on link building idea
We came up with this idea at work for a client but before I initiate it I was wanting to get feedback on if this would be considered whitehat and alright to use. It is for an ecommerce site. On the order confirmation and thank you page (not email cause they are on some old system that does not send out emails) we are wanting to put a thank you for your order message and continue with a statement about how they can save money on future purchases with a link that takes them to a page with info on how to do so. That new page will have info about linking to the site from a blog or website. And will say if you link back to us and send us an email with that link as proof we will give you a promo code for your next purchase. Is this alright?
White Hat / Black Hat SEO | | webfeatseo0 -
Text indent -9999px on logo, is it bad??
I saw a question on this forum that was saying that text-indent -9999px was bad SEO, or even worse blackhat seo... But isn't it what everyone is doing for image replacement in logos...? Is it really bad?
White Hat / Black Hat SEO | | i-kreo0