Google Analytics

What's the difference between ga.js, analytics.js and gtag.js?

What’s the Difference Between analytics.js, gtag.js & ga.js?

Recently I added support for gtag.js to CAOS. To be honest I didn’t really think it through. Many people asked for gtag.js support and me being the obedient soldier that I am, I just implemented it. The update was received with (virtual) standing ovations and… panic. Riots in the streets. WORLDWIDE C-H-AOS! (wink wink) Also, questions. Because what’s the difference between ga.js, analytics.js and gtag.js!? Well, let’s find out! Continue reading…

How to move WordPress website

How to (actually) move WordPress to a New Domain (with SSL — without losing SEO)

How do you move WordPress to a new domain? Moving my WordPress site to a new domain gave me a headache, but I’m sure it was worth it. I mean, check out my shiny new domain name! .dev, isn’t it awesome? If this move doesn’t give me a SEO boost, I don’t know what does.

Why did it give me a headache? I wanted to move WordPress using an external domain registrar with 301 redirects, without affecting my Let’s Encrypt SSL-certificates and Google Search Console. And not a tutorial in the world to help me out.

Well, I figured it out and today I’ll share it with you.

Continue reading…

Leverage Browser Caching with CAOS and Google Analytics for Wordpress by Monster Insights

Leverage Browser Caching by Hosting Analytics Locally with Monster Insights’ WordPress Plugin

It’s a great performance boost for your website to host analytics.js locally. This helps you leverage browser caching, get a perfect 100/100 score on Pagespeed and Pingdom and raise conversion.

An average blog can locally host analytics.js without any fuss. If you’re in ecommerce (e.g. WooCommerce) things get tough, because hosting your Analytics file locally, usually means you can’t use most of Google’s Universal Analytics features.

Today I’m going to show you how you can easily host analytics.js locally, leverage browser cachingĀ and still profit from Universal Analytics’ advanced features.

Continue reading…

Use Google Analytics with CAOS and a Cookie Notice

How to use CAOS and Analytics with a Cookie Notice (GDPR)

Since the 25th of May, our (online) lives have been blessed with a new and improved GDPR. You might’ve noticed my shiny new Cookie Notice! For novice users it raised a lot of questions. Because as a law-abiding citizen, what the hell do I have to do to keep a good, law-abiding website? If you’re a Google Analytics user, look no further. Today I’m going to show you how you can use CAOS (and all of its locally hosted analytics.js goodness!) to make your WordPress-blog GDPR-proof.

Continue reading…