-
Notifications
You must be signed in to change notification settings - Fork 33
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
GTM Variables #6
Comments
I haven't built out that functionality, but it may be possible to do so long and Google's libraries support it. I'd be open to a pull request for it. |
@artemkhalygov, maybe this is these are the Data Layer setup instructions you're looking for? I just added them today. They were posted on another project on GitHub. Custom modifications of the Data Layer isn't supported right now, but you can get pageview and event tracking if you follow the manual setup instructions for the GTM container configuration. https://github.com/kraihn/cordova-plugin-tag-manager/wiki/GTM-Setup |
@kraihn I tried to change the default names (keys or values) of the events. I modified accordingly the GTM config and the plugin files CDVTagManager.java (Android) and CDVTagManager.m (iOS) in a forked repo, but then the (forked) plugin stopped working. Is there anything I am missing? Are those param names hardcoded in the compiled GAServices libs? Or do you think the problem is elsewhere, i.e. I am just misconfiguring GTM or GA? |
How I understood, I can only track GTM events. Is there a way to set GTM variables?
Thanks
The text was updated successfully, but these errors were encountered: