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
-
What is really a bad link in 2017?
Hi, Routine answer is: A link which doesn't provides any value. Tired of listening to this statement where we can see number of back-links been generated with different scenarios. There are still many low DA websites which speaks exactly about a brand and link a brand naturally. So, is this a bad link or good link? Let's be honest here. No one gonna visit such pages and browse through our website; it's all about what it's been doing in-terms of SEO. Do these websites to be in disavow list? Beside the context how a brand been mentioned, what are the other metrics to disavow a domain? Expecting some real answers for this straight question. If it's a low DA site and speaking about exactly our website- Good or bad? Vice-versa...high DA website mentioned website with less matching content. What is the proportion of website authority and content context? Can we keep a medium DA backlinks with some Moz spam score?
White Hat / Black Hat SEO | | vtmoz0 -
Unrelevant links
Hi there, In my website, There are lots of unrelevant/unnatural links coming in Google Search, we have removed it Through Remove URLs option, Also Cleared All Spammy backlinks, made website Content Cleared , But still it gives us unnaural links,, because of that our website rank loosed. We have also Disavow that All links, But Still not got any Solution, Can any Buddy Suggest Where We are making Mistake? any body can help please?? Thanx in advance
White Hat / Black Hat SEO | | pooja.verify040 -
How do you change the 6 links under your website in Google?
Hello everyone, I have no idea how to ask this question, so I'm going to give it a shot and hopefully someone can help me!! My company is called Eteach, so when you type in Eteach into Google, we come in the top position (phew!) but there are 6 links that appear underneath it (I've added a picture to show what I mean). How do you change these links?? I don't even know what to call them, so if there is a particular name for these then please let me know! They seem to be an organic rank rather than PPC...but if I'm wrong then do correct me! Thanks! zorIsxH.jpg
White Hat / Black Hat SEO | | Eteach_Marketing0 -
Have just submitted Disavow file to Google: Shall I wait until after they have removed bad links to start new content lead SEO campaign?
Hi guys, I am currently conducting some SEO work for a client. Their previous SEO company had built a lot of low quality/spam links to their site and as a result their rankings and traffic have dropped dramatically. I have analysed their current link profile, and have submitted the spammiest domains to Google via the Disavow tool. The question I had was.. Do I wait until Google removes the spam links that I have submitted, and then start the new content based SEO campaign. Or would it be okay to start the content based SEO campaign now, even though the current spam links havent been removed yet.. Look forward to your replies on this...
White Hat / Black Hat SEO | | sanj50500 -
Link Audit: How do I decide what is a good or bad link?
I am conducting a link audit for one of my formerly high-ranking pages. But despite reading quite a bit on the issue, I am still quite confused as to how to decide whether to keep or remove a link. Some links come from directories and social bookmarking sites. I know that generally speaking, you do not want to be on these types of sites, but what if their domain authorities, pageranks, and mozTrusts scores are good? For example, here is one of my links for "envelopes": http://www.folkd.com/detail/www.jampaper.com%2FEnvelopes The page itself has no MozRank, MozTrust, or links but the domain has an authority of 88, a MozRank of 6.41, a mozTrust of 6.31. Should I be looking on a page level or domain level basis? It also has over 5 million links, with over two million of those being external followed links. Is the high quantity of links a warning sign? I also used a free online tool (thesitevalue.com) to determine how much traffic the domain gets. Apparently it receives over 350,000 unique visits daily, so it must be useful to people. This, combined with the fact that we've received 5 visits from the link over the last year (not a lot, but something), makes me believe that the link's intent wasn't purely to "trick" Google. Despite this, I still have a feeling the link could be considered low-quality based on the domain's appearance. Similarly, some of our links are coming from domains named linkdirect.info, backlinks8.com, tolinkup.com, findyourlink.info, searchengineurl.com, websubmissionfree.com. Is it safe to assume these are harmful links strictly because of their names? Thank you!
White Hat / Black Hat SEO | | jampaper0 -
Should I Do a Social Bookmarking Campaign and a Tier 2 Linking?
I don't see anything bad in manually creating links on different (about 50) social bookmarking services. Is this method labeled as White Hat? I was wondering if it would be fine to create Tier 2 linking (probably blog comments) for indexing of the social bookmarking links? Please share your thoughts on the topic.
White Hat / Black Hat SEO | | zorsto0 -
Unnatural Link Profile
Hi All, We are about to take on a new client whose site has been penalised for having a very unnatural link profile. They have over 1k links, which have 5 differing anchor texts, though the majority leans towards one particular phrase. Their previous SEO company had done this for them and the strategy worked, keeping them in the top 3 for most phrases, until Penguin. Now they reside in the 70-100 ranks. My initial though is we need to get rid of a lot of these links, however its going to be labour intensive and as we all know, labour is expensive. The website is nicely designed and has lots of great unique content. Its just the link profile letting it down. My question is; If this were your client, what would you recommend? A link removal program which could take a long time and be very expensive or would you recommend that they start again and build a new site, also expensive and time consuming. or would you suggest something different? If anyone knows of any Link removal people who have done a good job in the past I'd love to get some contact details. Thanks Aran
White Hat / Black Hat SEO | | Chiefblob0 -
If a site is punished by google like -30, or -60, are the link from that site efficient?
Like this way, if I build a blog and in some situation, the blog is punished by google as some reason I don't know, all the rank dropped and got the -30 punishment. If I put a outbound link on the sidebar, or footer position. what it'll be for that link? A is punished, a link is put on the A website and link to B website what that link means to B punished got many ways Thank you
White Hat / Black Hat SEO | | yifang01230