Adding "noindex" tag to link page through Tagmanager -> Ideal for linkexchange

Dierus

Newbie
Joined
Apr 14, 2017
Messages
11
Reaction score
0
Hi,

I've added the following html code to an page using Google Tag Manager:

<script>
jQuery('meta[name="robots"]').remove();
var meta = document.createElement('meta');
meta.name = 'robots';
meta.content = 'noindex, nofollow';
jQuery('head').append(meta);
</script>

This script is not visible in the source code (only in developers mode).

I am curious how the Google Crawler treats a page that is noindexed using this script. I asume the links on this page do not leak linkjuice, right? Do you guys have any idea?

Let me know, thanks :)
 
Back
Top