Skip to content

Instantly share code, notes, and snippets.

@embasbm
Created May 16, 2017 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save embasbm/d4f95a610fe74b6c46338084220a05ca to your computer and use it in GitHub Desktop.
Save embasbm/d4f95a610fe74b6c46338084220a05ca to your computer and use it in GitHub Desktop.
EI DataLayerEpic
B: JSON.stringify(dataLayer.find(x => x['event'] === 'eeProductDetail'), null, 20)
C: JSON.stringify(dataLayer.find(x => x['eventAction'] === 'displayForm'), null, 20)
A: JSON.stringify(dataLayer.find(x => x['event'] === 'addToCart'), null, 20)
D: JSON.stringify(dataLayer.find(x => x['eventAction'] === 'sentForm'), null, 20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment