Category: Web Analytics

  • How I built a Lightweight Web Analytics Tracker

    I have used many different trackers in my career and always thought, how does it work under the hood? What would it take to build a simple web analytics tracker myself? Using server-side Google Tag Manager, we can now send data directly to BigQuery. This is a great solution and makes sense for most businesses…

  • Maximizing Data Capture: Overcoming Cookie Consent Timing Issues in Google Tag Manager

    Context When consent mode is enabled in Google Tag Manager, it often happens that some events are pushed to the dataLayer before the user even has a chance to accept cookies. Events commonly impacted by such scenarios are ‘view_item‘ and ‘view_item_list‘ events. Even if they accept, sometimes it’s tricky, or not possible to trigger the…