Why You Should Update the Year in Page Titles: Ignore Mueller!

As we approach the end of the year, Google's John Mueller continues with the tradition of scaring us into not changing the page title to reflect the New Year. Take a look at his response to a tweet asking him about it: https://twitter.com/JohnMu/status/1596549741458096129 Google's John Mueller … [Read more...]

How to Use Impact Sub IDs for Affiliate Link Tracking

Impact allows you to track custom parameters for the affiliate links you create via a "Sub ID". Unfortunately, the documentation isn't clear on how to use it, so here's a step-by-step guide with screenshots. Related to Affiliate Tracking: HostGator India Affiliate Program Ends How to … [Read more...]

4 Reasons Why Google Analytics 4 (GA4) is TERRIBLE

2023 is the year in which Google will ditch Universal Analytics in favor of its latest product. But Google Analytics 4 (GA4) is annoying as hell. Whenever you log into Universal Analytics, you see this nagging screenshot: Warning to Switch to Google Analytics 4 from Universal Analytics This … [Read more...]

How to Create a GA4 Events Report with Custom Parameters

Here's how to create a Google Analytics 4 (GA4) events report using the report builder with custom parameters. You must create a GA4 event in Google Tag Manager with custom parameters as a prerequisite. For this tutorial, I'm using a GA4 click event with the following parameters: Source … [Read more...]

How to Add Google Analytics 4 to Google Tag Manager

Follow these steps to add Google Analytics 4 (GA4) to Google Tag Manager (GTM). Related to Google Tag Manager: How to Track Link Clicks with Google AnalyticsExclude Logged in WordPress Users with Google Tag ManagerCloudflare Analytics vs Google AnalyticsTrack Google Analytics Even with … [Read more...]

Cloudflare Analytics vs Google Analytics

Now that Google Analytics is reaching its end of life, we're all being asked to transition to Google Analytics 4 (GA4). But I think GA4 is a step backward, mainly because of the hours-long delay in reporting data. Finding an alternative to Google Analytics is hard. There are so many features in … [Read more...]

How to Track Clicks in GA4

For this tutorial, you should already have added GA4 on Google Tag Manager. Once you've done that, here's how to track clicks on GA4. Related to Google Tag Manager and Google Analytics: Add Google Analytics to Google Tag Manager Exclude Logged in WordPress Users with Google Tag … [Read more...]

Tutorial: Exclude Logged in WordPress Users with Google Tag Manager

This tutorial will explain how to configure Google Tag Manager (GTM) to exclude logged-in WordPress users from triggering the Google Analytics tracking code. It assumes you have already: Set up Google Analytics 4 - GA4Added GA4 to Google Tag Manager Here, I will only show you how to prevent … [Read more...]

Track JavaScript Disabled Visits with Google Analytics in WordPress

Update: With the latest GA4 replacing Universal Analytics, this code doesn't work anymore. However, Google will still continue to collect data from Universal Analytics, though we don't know when they'll stop. As of this writing, they haven't retired it yet - I'm continuing to use it myself. As … [Read more...]

WP-Tweaks