cmackay / google-analytics-plugin

Cordova Google Analytics Plugin for Android & iOS
Apache License 2.0
89 stars 43 forks source link

Different from com.danielcwilson.plugins.googleanalytics? #32

Closed hellogerard closed 9 years ago

hellogerard commented 9 years ago

Quick question:

Is there any significant difference between this plugin and https://github.com/danwilson/google-analytics-plugin? They both look like they do the same thing. Why write another GA plugin when there's already a popular one in use?

Thanks.

cmackay commented 9 years ago

When I initially created this plugin, the other plugins I tried did not work and some required downloading of native libraries. I am not entirely familiar with the latest features other plugins provide but many of the plugins are focused on the most common set of analytics features (tracking views, events, and using custom variables). When I built this plugin I intentionally exposed the set and send functions that the native libraries expose, this allows the client app to utilize all of the possible analytics features exposed by the data collection protocol.

https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide

As far as I am aware none of the plugins expose the set/send functions so although they look similar there are many other analytics features that can not be utilized. Hope that answers your question.

Thanks,

-Craig

hellogerard commented 9 years ago

Thanks, it does!