1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

JavaScript encoded links on an AngularJS framework

Discussion in 'Other Languages' started by MAG77, Apr 5, 2016.

  1. MAG77

    MAG77 Newbie

    Mar 4, 2012
    Likes Received:
    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.

    Definitely Avoiding: 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.

    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.

    Below is the snapshot of the code we're using:

    <span ng-click="vm.bdpEventTracking();vm.openLink(vm.getReadableUrl(vm.getPrimaryWebsite()),'_blank')" role="button" tabindex="0">Visit website</span></span></a><!-- end ngIf: vm.getHavePrimaryWebsite()==true --><!-- ngRepeat: contact in vm.getSecondaryWebsites() -->

    Any further insight or if anyone already have come across an exact or similar implementation. Whether it is on your site or a customers website that we can learn from just to ensure that we avoid any chances of being flagged for being a link farm?

    Admins, please feel free to move or remove.

    Thanks in advance,

  2. weedsmoker

    weedsmoker Junior Member

    May 2, 2011
    Likes Received:
    AFAIK G follows js links/redirects, I'm not sure G will treat your website as link farm, but I'm pretty sure that quality of those 3rd party sites will influence your ranking.