As we’ve grown, I’ve started seeing some occasional strange errors when trying to SSH or push to GIT repositories on certain user accounts on our cPanel server. Then today, when switching an account to PHP8, the error locked up SSH entirely, and would only go away when I rolled back to PHP7.4 Turns out, the… [Read More]
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]
Enhanced Ecommerce Tracking With Google Tag Manager in aMember
If you are using Google Tag Manager (GTM) to handle your Google Analytics, then you will need a way to populate the dataLayer with eCommerce data when you make a sale in your aMember site. Here’s how I do it on my sites, using aMember’s own Conversion Track plugin. Step 1: Add the dataLayer in… [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]