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

Upgrade to Google Analytics library (V3) & new Social and e-commerce functions #30

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

benikhal
Copy link

I've upgraded the calls in GAPlugin.java using the new Google Analytics library (V3).

I also added new functionalities of social tacking and e-commerce tracking, handled by the functions trackSocial, trackEcommerceTransaction, trackEcommerceItem.

@JoeMeeks
Copy link

JoeMeeks commented Jan 6, 2014

Nice. Thanks for wiring up these features.

@teusink
Copy link

teusink commented Jan 15, 2014

Thanks for your fork and updates!

@peacechen
Copy link

Thank you @khalidb91 for putting time in to update the code to GA v3. Some issues appeared after building with the phonegap CLI (cordova CLI somehow worked initially). It couldn't resolve helloworld which seems unnecessary.
src/android/GAPlugin.java line 7:

    import com.phonegap.helloworld.R;

It also couldn't resolve gms.common & gms.analytics. I added the playservices plugin which caused a duplicate DEX error. Any thoughts on how to get it to build successfully?

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.

5 participants