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
-
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 -
Linking Authentic Sites Together - Semi-PBN?
Recently I've had a lot of ideas of sites to build that all would have some sort of relevance to each other, all that would be relevant to my current business. For example, say you have sites for: bars/clubs, music festivals, cinemas, etc, one site for each. While these aren't all directly related to each other, they all kind of fall within a category of entertainment and having fun. Now, I'm not thinking about this as if I were to build a Private Blog Network, but instead each site would actually be valuable to visitors, be content rich, have regular updates and thriving social media etc, as if each were its own individual business. What would be your opinion on actually linking these together at some point down the line? I must stress that these would not be like typical PBN sites where the themes are the same, content is spun or badly written, no human touches or actual value, anything spammy etc, these would actually be authentic quality sites that you would reasonably expect to have a thriving community. Personally, after changing my ways from blackhat to weary-of-linkbuilding whitehat when Penguin 1 was released, I'm aware of what a bad linkbuilding strategy can do and would rather steer clear, however when I compare the plan of these authentic sites I have in my head to the obvious, low quality PBNs that I find competitors use to rank well all the time, I'm coming around to the idea that they may not pose a threat with the way I intend to implement them. Can I get some thoughts?
White Hat / Black Hat SEO | | Leads.Bz2 -
Is it a good idea to target a similar versions of a keyword?
Salute you all, I am optimizing a site for an attorney. I have done some good research and find the keyword difficulties. Some of my keywords are very similar was wondering is this a good idea and safe (white hat) or not? e.g. page title: 1) city immigration lawyer 2) city immigration attorney My main and first reason is to target all users. Since some will search under 'attorney' and some under 'Lawyer'. Secondly one is easier than the other. I appreciate any input from more experienced seo experts. Chris 🙂
White Hat / Black Hat SEO | | Chris-tx0 -
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 -
Does Google Consider a Follow Affiliate Link into my site a paid link?
Let's say I have a link coming into my domain like this http://www.mydomain.com/l/freerol.aspx?AID=674&subid=Week+2+Freeroll&pid=120 Do you think Google recognizes this as paid link? These links are follow links. I am working on a site that has tons of these, but ranks fairly well. They did lose some ranking over the past month or so, and I am wondering if it might be related to a recent iteration of Penguin. These are very high PR inbound links and from a number of good domains, so I would not want to make a mistake and have client get affiliates to no follow if that is going to cause his rankings to drop more. Any thoughts would be appreciated.
White Hat / Black Hat SEO | | Robertnweil10 -
Tools to check Google Local SEO with suggestions.
Is there any tool for to check website position on Google maps ?? and also what is the way to check that a website is listed on which local directories and on which not listed and to get suggestions for improvements ?? so need Tools to check Google Local SEO with suggestions.
White Hat / Black Hat SEO | | mnkpso0 -
Link Building after Google updates!
Hello All, I just wanted to ask the question to start a discussion on link building after the Google Updates. I haven't been very proactive lately with regards to link building due to the updates and not wanting to get penalised! Are there any link building trends/techniques people are using since the changes? Thanks, seo_123
White Hat / Black Hat SEO | | TWPLC_seo0 -
Which of these elements are good / bad link building practices?
Hi, I need some help. I recently got some help with an seo project from a contractor. He did 50 directory submissions and 50 article submissions. I got good results, going up about 20 places (still a long way to the first page!) on google.co.uk on a tough key word Since this project I learned article marketing is not cool. So I am wondering about what I should do next. The contractor has proposed a new bigger project consisting of the elements listed below. I don’t know which of these elements are ok and which aren’t. If they are not ok are they: 1) a waste of time or 2) something I could get penalized for? Let me know what you think?? Thanks, Andrew 100 ARTICLE SUBMISSIONS [APPROVED ARTICLES] -> 1 article submitted to 100 article directories 50 PRESS RELEASE SUBMISSIONS [APPROVED & SCREENSHOTS]-> 1 PR writing & submissions to top 50 PR distribution sites each 150 PRIVATE BLOGS SUBMISSION [APPROVED ARTICLES] -> 1 article submitted to 150 private blogs submission 100 WEBSITE DIRECTORY SUBMISSION -> 1 url (home page) submitted to 100 top free web directories 50 SOCIAL BOOKMARKING [CONFIRMED LINKS] -> 1 url of site submitted to top 50 social bookmarking websites 40 PROFILE BACK-LINKS [CONFIRMED LINKS] -> 1-3 url's of site submitted and create 40 profile websites 50 SEARCH ENGINES -> submission to all the major search engines 20 NEWS WEBSITES -> Ping all links from reports to news websites
White Hat / Black Hat SEO | | fleurya0