Using Google Tag Manager TO Apply A NoIndex Tag | Paul Lovell | Skillshare

Playback Speed

  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x

Using Google Tag Manager TO Apply A NoIndex Tag

teacher avatar Paul Lovell, SEO Consultant Speaker and Trainer

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Lessons in This Class

4 Lessons (11m)
    • 1. Indroduction

    • 2. Implementing GTM

    • 3. Why NoIndex

    • 4. Implementing The NoIndex Tag

  • --
  • Beginner level
  • Intermediate level
  • Advanced level
  • All levels
  • Beg/Int level
  • Int/Adv level

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.





About This Class

Google Tag Manager (GTM) allows you to quickly and easily manage Tracking Codes For your Website.

This Class I will be showing you how to use this same functionality to apply a no-index tag to your site.

To ensure pages are not getting indexed in the search engines, you would rather not.

You will Learn
1) how to install GTM
2) why you may want to use a no-index tag on some pages
3) how to apply the code
4) how to use the triggers in GTM to fire the code

If you would like a free 14 Day trial of SEMrush Pro

Click Here

Meet Your Teacher

Teacher Profile Image

Paul Lovell

SEO Consultant Speaker and Trainer


Hello, I'm Paul. I have been in the SEO industry for well over 10 years. I have worked on many large e-commerce websites and many household names online. I am here to share my knowledge 

See full profile

Class Ratings

Expectations Met?
  • Exceeded!
  • Yes
  • Somewhat
  • Not really
Reviews Archive

In October 2018, we updated our review system to improve the way we collect feedback. Below are the reviews written before that update.

Why Join Skillshare?

Take award-winning Skillshare Original Classes

Each class has short lessons, hands-on projects

Your membership supports Skillshare teachers

Learn From Anywhere

Take classes on the go with the Skillshare app. Stream or download to watch on the plane, the subway, or wherever you learn best.


1. Indroduction : Hello and thank you for taking an interest in this course in this course on a we show you how to implement and no index tank using Google Tag Manager or G T Amazon at school. There are many different reasons of why you may want to do this. Especially revealed. Commerce will be also covering over some of those within this course. So if you'd like to know how to do this one simple thing Google talk my job, then please politicals. 2. Implementing GTM: Hello and thank you for continuing for a group the course in this first step. Of course, I'm gonna be showing you how to sell Google tag manager. This is important because this is how we're gonna place that no index take. So let's jump straight into it. You can see for my screen that we are on the Google Attack manager page. Now you're gonna go through here and you're gonna fill out all of your information. Make sure that you set out for Web know IOS, Android or amp right? So go through, fill out all of your information. Once you complete that, you're gonna be seeing two pieces of code like this. Now, before you've even installed anything like Google analytics or anything like that, you can still set up your container and place it on your Web site. Because as you update your container, that information could be updated to your website without any need for changing this code. This is just the container that's gonna hold any additional information that you're gonna place on the side now. Lots of sites off Standard hates him out, and even more so nowadays or wordpress. So for a standard, high HTML website. It's gonna be quite simple. You just follow the instructions, you place it in the head and in the body. When you're in a WordPress environment, it gets a little bit more difficult because you can't just go and edit the head and the body of the page. Yes, there are elements that you can, um, change things within the theme editor of the site, but that's getting a little bit complex. What we're gonna do is we're gonna use a simple plucking. Who? Metronet. It's the one that I like to use at the moment area suffers out there. I'm not saying that this is the best one. I'm just saying this is the one that I use at the moment. So he is metro net. What he's gonna do is it's gonna set you up the environment where you can just copy and paste in those two bits of code. There is much more they can do. It can create a day later for you and stuff like that. We're not getting into that conversation right now. What we're getting into is the point that we're gonna be able to install the tack manager on your WordPress site in this example, where you are then able to place your code, and it will for on every page of your website, which is exactly what we need, whether it be for tracking or placing the no index tag. So once you've installed this and then activated it as well, you'll find underneath sayings you have now got the property which is for the Metro Net tag Manager. Those two pieces of code that you're given here you could literally just click the copy bundler that all Mackley copies it for you into your clipboard and then you'll be able to paste it right here. So this is the part for your head. As you can see here, patient Google technology occurred here. This will appear in the head portion off your side. So it's important that you place these in the right place of what is going to create an arable. You same again. You come back, you copy the code, which is for the body part of your page. You now place that there. Once you're happy with that and you click save changes. This will now be on your website so we can now go back to the website, and if you install this little plucking, the highlights use, which is the tag assist. So it's a chrome extension developed by Google Toe. Allow you to test if your tag has been implemented correctly, so you can see here it's found attack. That's great. That's exactly what we wanted to do. So that's how you actually set up and implement your tack manager on WordPress. You can also do the same on a hates him outside or whatever overseeing messages that you're using. All of these platforms are very simple ways to install this because it is being given to us by Google. Tell parse up on the legs event handling click to call numbers. There's lots of different functionalities for it in this example. We using it for the No Index take. That's the implementation. In the next video, we're gonna go through of how to use the no Index tacked on way. You should be using it 3. Why NoIndex: Okay, so let's go over to know index tag and some of the reasons why you may want to implement it . That no index tank is a simple tag that tells Google that you do not want this paging next . It's a simple is that there's nothing more to it. But you don't want to apply this to every page there certain pages that you may want to implement it. So one of them being a thank you page from a contact form was an example. Now the reason you want to do this is because you won't want that Thank you pays to be indexed in Google. And I've seen many sites that do do this. And it's wrong because if you've got that South as a converting page view in Google Alexa, someone feels that contact form. They see the thank you page within Google. Alex, you have that destination called out is your goal. So then that way, every time that page gets a page, do you actually get gold? And if that pages in Google, then people could just find that page or Mackley without even needing to complete the form . So you actually think you're getting more conversions and what you want. That's an example of why you may want to implement a no index tacked because you're telling Google. Look, I don't want this page index. So that's one example enough, for example, which are dual off is in e commerce, and that would be including the search pages and filters as well for different categories. So, for example, if you got a search page and someone types in black Friday deals you and you haven't got anything, essentially, you're telling Google to index very thing page with no results or we've no product should I say buying from any into no index tag on those situations, you're sending Google a very clear signal that you don't want that page index, and it's the same one different filtered versions. I always like to use the example of a leather handbag. Fact issue could have all 26 colors of the rainbow available in a leather handbag, but we know from carrying out keyword research. For example, the black leather handbag gets a lot more search queries than a purple liver handbag swing . That case, you may want to know index certain color versions or certain fillers that your crane pages for Rather Miller, now on Google's crawl through over 100,000 different variations of leather handbag. So there's another example of why you may need to do this on by doing this. What you're effectively doing is allowing Google to crawl the most important parts of your site with a very general message. It's not a strong there's using your robots txt file like I said, But there's plain and simple fact is you're still able to send a clear message to Google that you don't want these pages in those. And certain platforms don't allow you to have access to robots txt, voles or you may not have the option to just click a check box for a no index tag. And this is where attack manager can help you. Because by appliance that the task manager functionality allows you toe take that control out of the CMS or whatever platform is, too. You're using intact manager so you can control it from there. I hope that explains it well enough for you. If you've got any questions, please do reach out and ask 4. Implementing The NoIndex Tag: Hello and thank you for coming fruits in the main part of this course. In this course, I'm now gonna be shown you how to implement the knowing next tank using Google Tack manager . Now, there are many different reasons why you may need to do this. I'm just going to show you one example for a search query page as an example on an e commerce site. So what we're looking at here is are carried out query for Black Friday deals. Now on this site, there's no products matching that query. So course it shows no products. The messages, no products were found matching your selection. So that's the trigger or the variable that we're going to trigger this off. So if intact Manager, we stop a custom bearable that looks specifically for this message to let Tak manage and know that there's no products available on this page. So when we go through into tank money, General, you can start to understand. This is the tack hair with the code. And what we're saying here is we want and knowing next tank to be pushed into the head of the code. So it's no index. Follow coach or should I say, to be pushed into the head of the page when the trick eyes no products were found matching your selection? So here's the code here, which I'll be sharing with you. Here is the trigger. So we're looking for a variable of no products, no production, I say. And it contains no products, which is the text that shows on the page. So if we go back to here and we check in debug mode, which always suggested you do when you're checking the variables and where you're pulling the information from, we're pulling the CSS class here. Three into no product. So is the Dom element We're looking for search results, black Friday deals. No products were found matching your selection, and that is what we are using as our trigger for this for this tank. So what happens is is as users go for your site or Google but scare for your site if they come across a page where the message revealed on that search query Page says no products were found matching your selection. This tack will automatically add a no index, follow tag into the head of the page, and likewise even if that page has been called many times like this black Friday deals paid , for example, it could have been called many times by Google previously. Then it comes to a point where you've now got products for that query. It was then removed that no index tank allowing that page to be indexed and crawled by Google more effectively. So then, that way you're helping keep in your index bloat reduced and therefore allowing your site and the more important pages of your site to be crawled a little bit more often than pages there of low value hope you found. It's interesting. If you have any questions, please, Rachel, I'll be happy to help.