Skip to content

Instantly share code, notes, and snippets.

@paulmwatson
Last active May 26, 2020 13:21
Show Gist options
  • Save paulmwatson/6bd1792a30f7ca616a1bd4eb2eee367f to your computer and use it in GitHub Desktop.
Save paulmwatson/6bd1792a30f7ca616a1bd4eb2eee367f to your computer and use it in GitHub Desktop.
window.dataLayer = window.dataLayer || []
function gtag() { dataLayer.push(arguments) }
gtag('js', new Date())
gtag('config', 'GA_MEASUREMENT_ID')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment