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

GTM Variables #6

Open
artemkhalygov opened this issue Apr 30, 2015 · 3 comments
Open

GTM Variables #6

artemkhalygov opened this issue Apr 30, 2015 · 3 comments

Comments

@artemkhalygov
Copy link

How I understood, I can only track GTM events. Is there a way to set GTM variables?

Thanks

@kraihn
Copy link
Owner

kraihn commented May 8, 2015

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.

@kraihn
Copy link
Owner

kraihn commented Jul 8, 2015

@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

@bitumin
Copy link

bitumin commented Sep 15, 2016

@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?

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

No branches or pull requests

3 participants