How to install Google Adsense with Google Tag Manager

How to Install Google Adsense with Google Tag Manager (GDPR ready)

0 comments / July 18, 2018

If you run a website and want to earn some beer money (or more, if your traffic is more significant), Google Adsense is one of the options for how to generate some passive income. Once you sign up, generate codes for ad placements and add them to your website.

When a visitor lands on your page (and if he/she is not using adblockers) that piece of code will load an ad/banner. After that banner is displayed/clicked, your account will get some revenue share from Google. Easy as that.

If you want, you can add more ad placements to a website but every additional ad will require an additional code snippet added to a website. Anyway, no big deal.

Now, after GDPR went into effect (on May 25th, 2018), Adsense ads also became affected by this EU regulation (because those ads deal with personal data). In this guide, I’ll show you how to install Google Adsense with Google Tag Manager and to make it GDPR compliant (meaning that it will adapt to user’s privacy settings).

Read more

Cannot verify Google Search Console with Google Tag Manager

Cannot Verify Google Search Console with Google Tag Manager? Read this.

0 comments / July 16, 2018

Google Search Console (previously known as Google Webmaster Tools) is a free tool by Google. Among all of its other features, it lets you better understand how people are finding your website through Google’s search. It displays keywords, their volume, click-through-rate, etc. But in order to get access to such data, you need to verify the ownership of that particular website.

For your convenience, there is a whole bunch of options to do that: you can upload an HTML file, you can add a little piece of code to website’s source code, etc.

In 2013, Google added yet another way how to verify the site ownership in Google Search Console, with Google Tag Manager. Apparently, things are not that easy here because I see a lot of people complaining online that they cannot verify Google Search Console with Google Tag Manager.

If you are one of them, continue reading because in this quick post I’ll show you how to solve that.

Read more

Google Tag Manager noscript

What is Google Tag Manager Noscript?

2 comments / June 13, 2018

After you create a new Google Tag Manager container, the interface asks to place two codes on your website, one in the <head> and the after right after the opening <body> tag. But have you ever wondered why are there two codes instead of one?

Usually tracking tools, like Google Analytics, Mixpanel, or others require to place one code on all pages, so how come GTM is different?

In this blog post, I’ll explain what Google Tag Manager Noscript is and why you might need it (or not, after all).

Read more