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

How to use in Ionic Mobile app #23

Open
RahulMiglani opened this issue Dec 24, 2015 · 3 comments
Open

How to use in Ionic Mobile app #23

RahulMiglani opened this issue Dec 24, 2015 · 3 comments

Comments

@RahulMiglani
Copy link

Thanks for sharing this code. Can you please help me to make it work in the ionic mobile app.

@acveer
Copy link

acveer commented Dec 28, 2015

I have used this one in an jquery based mobile app, but used Danwilson's google analytics cordova plugin in an ionic mobile app (better option)
https://github.com/danwilson/google-analytics-plugin

@RahulMiglani
Copy link
Author

Hi,

Thanks for your response on this. I tried that but its not working on the
latest cordova. With that I am having conflicts with the existing plugins.

Do you have any idea how to resolve all these.

Thanks!

On Mon, Dec 28, 2015 at 6:28 PM, acveer [email protected] wrote:

I have used this one in an jquery based mobile app, but used Danwilson's
google analytics cordova plugin in an ionic mobile app (better option)
https://github.com/danwilson/google-analytics-plugin


Reply to this email directly or view it on GitHub
#23 (comment)
.

@acveer
Copy link

acveer commented Dec 29, 2015

Ok. Assuming you are using cordova 5.0+, have you tried removing the plugin & adding it back from CLI ? this might also help [https://forum.ionicframework.com/t/google-analytics/4489/28]

Its much easier to maintain/upgrade in future if you can get this plugin working. The other (Non-idle) option is that you can manually inject this code in your service/factory & get reference to it.

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

2 participants