Skip to content

Instantly share code, notes, and snippets.

@austinpray
Created August 17, 2014 16:36
Show Gist options
  • Save austinpray/7614b530b1f72a35f78b to your computer and use it in GitHub Desktop.
Save austinpray/7614b530b1f72a35f78b to your computer and use it in GitHub Desktop.
Could you create a macro in GTM to pull the 'type' or 'name'? Currently the click doesn't have a uniquely identifiable value reporting in the data layer
function () {
return document.getElementsByName('accept_terms')[0].checked
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment