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
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
-
New Flurry of thousands of bad links from 3 Spammy websites. Disavow?
I also discovered that a website www.prlog.ru put 32 links to my website. It is a russian site. It has a 32% spam score. Is that high? I think I need to disavow. Another spammy website link has spam score of 16% with with several thousand links. I added one link to the site medexplorer.com 6 years ago and it was fine. Now it has thousands of links. Should I disavow all three?
White Hat / Black Hat SEO | | Boodreaux0 -
Pinging Links
Interested to know if anybody still uses the strategy of pinging links to make sure they get indexed, there are a number of sites out there which offer it. Is it considered dangerous/spamy?
White Hat / Black Hat SEO | | seoman100 -
Links Identified in WMT not on Webpages
Hi, We're currently reviewing one of our clients backlinks in Google Webmaster Tools, Majestic & OSE as we can see many toxic links. However we cannot find the links on the webpages that are listed on Google WMT. We have searched through the website along with checking through the source code. Should we still disavow the domain? Thanks, Edd
White Hat / Black Hat SEO | | tomcraig860 -
Google Finance Filled with Spam
Not sure if anyone else does anything with Google Finance. In the last few months, I have been noticing a lot of spam sites filling the search results in Google "ticker pages". In this example you can see 4 or the 5 top results are from the same blog network with spun low quality content.
White Hat / Black Hat SEO | | SuperMikeLewis0 -
Backlink, how to delete or find who is linking to me?
Hi there guys, Can someone tell me how I go about finding who is linking to my site or how to find backlinks to my site and if it is a spam site or a site I don't know or want linking to me, how to stop them from linking to me and also how to delete their link? Thanks appreciate the time Cheers
White Hat / Black Hat SEO | | edward-may0 -
Competitors Building Bad Back Links
Hi there, I recently checked the back links for my site using Open Site Explorer, and I noticed a huge number of bad back links which I believe a competitor might be building to help lower my ranking for a number of highly competitive keywords. Besides spending time disavowing these links, what else can be done? Has anyone else been faced with the same problem? Any help would be appreciated. cXT0lvd.jpg
White Hat / Black Hat SEO | | bamcreative0 -
Anchor text for internal links
there has been a lof of discussion on this forum and elsewhere about over optimized anchor text, partial match anchor text vs exact anchor text match, etc. I am wondering iwhether or not exact anchor text matches are good or bad for internal links? Does anyone have anythoughts, or better, any studies? Paul
White Hat / Black Hat SEO | | diogenes0 -
Strange link backs
Hi all been looking at the keyword research tool , phrase is dog beds site at number 10 is **www.ideas-4-pets.com ** opened site explorer http://www.opensiteexplorer.org/domains?site=www.ideas-4-pets.com%2F Took at a look at linking root domains ths guy has some huge linking domains , so thought I would take a look at how they managed to get links from sites like Samsung , the UN , Php.net, Linking Root Domain Domain Authority Linking Root Domains *.parallels.com/ 97 129,927 *.php.net/ 97 201,007 *.dmoz.org/ 94 80,621 *.swsoft.com/ 92 24,586 *.samsung.com/ 89 54,125 *.oreilly.com/ 88 48,350 *.undp.org/ 88 21,578 I cant understand how he has got links off psd files or on page assets like embedded swf files. Anyone know how they are dong this , is this pure Darth Vader black hat >>??? Thanks in advance May the Google be with You
White Hat / Black Hat SEO | | jbloggs0