Skip to content

Instantly share code, notes, and snippets.

@IronistM
IronistM / track_email_opens.js
Last active January 26, 2018 16:45
How to Track Gmail Messages with Google Analytics modified for Universal Analytics tracking. You will need to copy this spreadsheet http://goo.gl/Tk1nR8 and then open Tools > Script Editor to replace the existing code or simply add the /* Universal Analytics Tracking */ part
/*
Email Tracking with Google Analytics
====================================
Written by Amit Agarwal on 09/24/2013
Tutorial: http://labnol.org/?p=8082
YouTube : http://youtu.be/9T_EqwQnZY0
Support : http://twitter.com/labnol