GA4 Ecommerce Purchase Tracking With Google Tag Manager And aMember

A few years ago, I wrote a blog post showing how to track aMember sales in Google Universal Analytics “Enhanced Ecommerce” using Google Tag Manager. Well, Google Analytics Version 4 (known as GA4) is now out of beta, and I’ve started migrating my aMember sites tracking to use GA4. This article shows a clean install … Read more

How to properly check for Do Not Track with JavaScript

Every modern browser has a “Do Not Track” setting (DNT), which tells websites whether the user wants to be tracked or not. It’s been around since about 2011, but it’s been largely ignored until recently, because the definition of “tracking” has been hotly debated. The advent of GDPR has rekindled the idea of DNT, because … Read more

ClickBank IPN with PHP 7.2 and above

ClickBank’s Instant Notification Service is a webhook that lets you get transaction notifications in real time. For example, you can use them to inform your membership software when members join/pay/cancel. ClickBank provides the following sample code for PHP: The problem is that the mcrypt libraries – required to decrypt the notification – were abandoned back … Read more

Center Align Featured Images in Genesis

One of the things that bugs me about the featured image setting in the Genesis framework is that you can only choose left or right align… you can’t center align! Of course, if I always used images that were all exactly the right size and aspect ratio on my Genesis based sites (all the newer … Read more