In several different situations you may want to track the traffic made by logged-in users in a blog. For example, you manage a large corporate blog when a relevant quota of traffic is made by employers and you want to segment it. Or, most probably, you simply want to filter out your and your co-authors’ own traffic in a smaller blog or magazine. Here we’re going to discuss how to track and eventually filter traffic from logged-in users in Google Tag Manager and with a very small fix to your WordPress theme.
As blogger and Google Analytics enthusiast, immediately after migrating to Google Tag Manager I started facing the problem on how to specifically track page views with the typical setup a blogger actually needs. There’s plenty of tutorial about Google Tag Manager on the web. However, a clever set of best practices from the blogger’s perspective and specifically written to optimize performance of blog posts is still missing in the wild.
This tutorial is aimed to help the newcomers to configure a set of useful tags for standard page views tracking in GTM container and customize it for greatest performance when used in a blog.