From the course: Advanced Google Tag Manager

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Modifying search engine optimization tags

Modifying search engine optimization tags - Google Tag Manager Tutorial

From the course: Advanced Google Tag Manager

Start my 1-month free trial

Modifying search engine optimization tags

- [Instructor] It's actually possible to change the SEO tags on your website using Google tag manager. It has been proven that Google does now let a JavaScript Fasio purposes. And several high profile SEO experts have used Google tag manager for this purpose. However, I wouldn't recommend doing it this way unless you have to. For example, if you can't easily edit these tags in your CMS or you're running some kind of experiment. So the tag that we want to change is meta-description. That's the tag that shows up here, when someone searches for your blog, this text at the bottom here. Now, the way that we would change that is, if we went into inspect element and then console, let's get the meta-description first. For copy across some code, this is using the document query selector and then it's finding the tag that has meta, and then name equals description. So you can see that there's the text for the meta-description.…

Contents