It’s been quite a while since I managed a self hosted instance of WordPress on some shared web hosting. Now I’m using Namecheap’s hosted solution, but I’m running into a bit of a dead end. We are printing some physical media with QR codes on it and we want to be able to determine if folks viewed the digital version from a poster, a flyer, a banner, etc. So, with GA4 already installed and tagged on the site, my idea was to just create a couple unlisted pages that simply redirected to the third party hosted media. Decorate the URL for each QR code with all the UTM attributes, collect those when they hit the site, forward them on; easy peasy.
Except not? I’ve tried a couple redirect plugins and the first redirected almost instantly, I assume because it had some hook and ran the redirect before the page could even flash. Ahh, probably didn’t even load GA I thought. So I found another that let me specify a delay prior to the redirect. Even letting it sit for 5 seconds yields nothing in the realtime GA metrics.
Am I missing something? Is there a simple solution to what I assumed was a simple problem? I’ve got a technical background and setting up something outside of WordPress wouldn’t be terrible, but this is for a volunteer run org, and I would love for it to just keep working within WordPress long after I leave.
Any help you might be able to provide would be greatly appreciated.
[ad_2]
Happy to delete this but I JUST realized what the problem was. It’s me! Running a Mac, using Safari, with do not track configured, in a private tab (because I don’t have GA tracking admin users so I wanted an un-logged in tab). D’oh.