Skip to content

Instantly share code, notes, and snippets.

@justusbluemer
Created August 10, 2022 12:56
Show Gist options
  • Save justusbluemer/4bec5f5f9f956159fa020684ebf156ef to your computer and use it in GitHub Desktop.
Save justusbluemer/4bec5f5f9f956159fa020684ebf156ef to your computer and use it in GitHub Desktop.
const log = function() {
console.log("This was tracked to GA:")
console.log(arguments);
// … perhaps doing something else with this
}
google_tag_manager.mb.listen(log)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment