Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configurable page view custom event name for Google Tag Manager #349

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dobesv
Copy link
Contributor

@dobesv dobesv commented Nov 30, 2022

The current page implementation is not useful as it does not insert an event key into the event data on the dataLayer. As there is no "standard" event name to use here, this proposes not to send a page event at all unless the user has provided their preferred custom event name. If the event name is provided, this uses it to send the event, which can then be used as a script trigger in the Google Tag Manager interface.

Fixes #348

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Google Tag Manager page implementation doesn't seem right
1 participant