-
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
not receiving anything to GA #34
Comments
+1 |
Same problem here. At first I thought there was some misconfiguration in my google tag manager account, but now I believe that this cordova plugin simply does not work. I monitored the outgoing connections from my phone (using a proxy) and I did not see anything related to googletagmanager.com...
EDIT: it works for me... but I dont really know what has changed. |
I also managed to make it work. I've created a fork with v4-updated code here: |
@kozmanbalint I am neither familiar with GTM, nor with cordova plugins development... what are the differences brought by your fork? Does it still require to follow the setup steps listed in https://github.com/kraihn/cordova-plugin-tag-manager/wiki/GTM-Setup? |
Basically the code is updated to use gtm api v4, and it adds some debug logging. |
@kozmanbalint i downloaded your updated version but my tagmanager account only allow me to download the json file of my container. Any idea how can i make it work? |
Downloading container binary is actually not that obvious, I agree. Navigate to "Versions" in the Tag manager menu. You'll find the "download" option in the dropdown list on the right. |
Hi - Thanks for the plugin. Am trying it on the iOS version of my cordova app. Am receiving a similar error too. I see issues in parsing the json file. Here are my logs. Am struck with this. Can someone help me plz.
I downloaded the json file from GTM account - Admin, export for the live version. I dont see an option for download from Actions tab(as listed in some of the posts) and when I checked with my GTM anchor, she informed that, it is no longer available with Version 2. It was an option in the old gtm product. Version 2 only has export. But with the json, I get error on parsing it.
I saw one of the solutions to bump up library version and I tried with version 3.15 of the library as well, and still no luck. Having the same issue. Thanks. Pls let me know if you need more information. |
@kozmanbalint - I downloaded the json file from GTM account - Admin, export for the live version. I dont see an option for download from Actions tab(as listed in some of the posts) and when I checked with my GTM anchor, she informed that, it is no longer available with Version 2. It was an option in the old gtm product. Version 2 only has export. Is there anyway to recreate this manually? What does this file contain? Tried with version 3.15 of the library as well, and still no luck. Having the same issue. |
@iosnewbie2016 I'm having the same issue. Any luck finding a solution? |
@matt-west - Nope. We are still working on the issue. The plugin does not work with latest version of GTM. |
Thanks for the update @iosnewbie2016 |
Hey guys, I'm receiving hits to GA both from Android and iOS devices using the current revision of this repo. In case it helps anyone, I have created (in the GTM dashboard) two different accounts: one iOS legacy account and one Android legacy account. |
@bitumin Can you please guide me, how did you get this tracked? Well, I am not able to see any events in GA. I've followed the Wiki perfectly and indeed, I have i've included User ID as well in "Fields to Set" in GTM. I couldn't track the events. |
@sunayanagoyale At the end I decided to just send the events manually from my mobile app... This is the key part of the code I used in order to do that... https://pastebin.com/bQ3DNR4x |
Thanks a lot, @bitumin |
👍 I haven't been able to set this up either. |
After some debugging I finally found out that the "period" attribute is very much not optional, as the initialization fails when you do not provide it. |
Hi,
I have created a mobile app container in GTM and as per the instuction on https://github.com/kraihn/cordova-plugin-tag-manager/wiki/GTM-Setup i have created tags,triggers and variables..
Here are the screenshots of the same.
This is my code
I see the following log - when i debug my Android app on chrome.
initGTM - id = GTM-XXXXXX; interval = 1 seconds
trackPage - url = index.html
trackEvent - category = Link; action = Click; label = testClickEvent; value = 1
dispatch sent
I don’t see any Events on GA .
Please let me know if i have missed any configuration.
Also.. it’s been more than 24hrs i have created GTM account and GA account
Also please let me know if u need any information to help me debug the issue
The text was updated successfully, but these errors were encountered: