Home » javascript


Event deduplication for Facebook’s Conversions API using server-side GTM

  • by
  • 4 min read

Facebook is betting big on its Conversions API to counter Apple’s privacy game. It leaves one wondering why there documentation is so poor. In this blog post, I describe how you can set up proper event deduplication when using both the Facebook pixel and the Conversion API. 💥 This blog… 

A primer on iOS 14.5’s impact on Facebook audience building (and what to do about it)

  • by
  • 6 min read

I’ve read a lot of bullshit regarding the impact of Apple’s notorious iOS14.5 update. It’s a fairly technical & complex matter, yet most articles on the subject are clickbait or just content for the sake of being content, often written by a junior content marketer. Consequently, I couldn’t resist finding… 

Track ‘Dark Theme’ in Google Analytics 4 (GA4 and GTM)

  • by
  • 2 min read

In this blog post, we’ll use media queries particular user (device) properties using Google Tag Manager and Google Analytics 4. Some JavaScript knowledge is not a luxury. Using media queries, developers can personalize their app or website based on device and personal preferences by the user. Using the matchMedia method… 

Send Optimizely Experiment and Variation to GA4 via GTM

  • by
  • 4 min read

Optimizely is an amazing product for running experiments on your digital platforms. However, their documentation is somewhat outdated. In this blog post I would like to elaborate on how to send Optimizely’s experiment ID and variation ID to Google Analytics 4 in an event parameter. Judging from the screenshots, Optimizely’s… 

Solve “Loading data may take a while” when using IMPORTDATA in Google Spreadsheets

It’s no surprise that I’m a huge fan of GDrive (and basically all of Google’s products). Google Spreadsheets might not be as powerful as Excel, it’s definitely becoming the Swiss-army-knife par excellence for many digital natives. In this blog post how you can import huge amounts of data in a… 

Explaining ‘promises’ in D3.js: the what and the why

  • by
  • 3 min read

A while ago I started working in the JavaScript library D3.js to create some interactive visualizations. I even took a rather great Coursera course on the subject — Information Visualization: Programming with D3.js. If you’re not familiar with modern JavaScript syntax, D3.js has a rather steep learning curve. During this…