Google Tag Manager Template (push custom events)
I am a UX Developer. I am trying to create a template within Google Tag Manager to make it easier for team members to push custom events to Optimizely Web Experimentation. Unfortunately due to GTM sandbox restricts, direct execution of methods on global objects like optimizely.push is not possible. There are a few possible ways to resolve this, which could include:
- Expose a queue-style global object
- Provide a GTM-friendly wrapper
- Publish an official GTM Custom Template
1
vote
