Analytics on the edge: server-side request tracking and cookie setting using Cloudflare Workers
Server-side tracking is all the rage these days, but let me tell you about the uber-coolest kid on the blockchain: edge analytics. I'm kidding, there's no such thing as edge analytics (except maybe for IoT devices), but there is the possibility to intercept requests on the 'edge' of the network. Using Cloudflare Workers, you can send data to Google Analytics for all kinds of scenarios, even for users visiting pages THAT DON'T EVEN EXIST!
Continue reading...
Measuring with DataLayers, Data Attributes, Meta Tags and Webhooks: When to use what
When asking developers to add extra information to a site like a user ID, user login status, page category, or product price the conversation that ensues can be confusing. Do you want everything in a dataLayer push? Is it a data-attribute for the element on page? And how does that match with what your SEO colleague wants? Let's find out!
Continue reading...