google-analytics-plugin icon indicating copy to clipboard operation
google-analytics-plugin copied to clipboard

App installs

Open hirbod opened this issue 7 years ago • 5 comments

Hi,

are app installs supported?

https://support.google.com/analytics/answer/3389142?hl=en

hirbod avatar Mar 15 '17 00:03 hirbod

Hi @Hirbod,

Currently install tracking is not supported. I would consider adding it to the plugin if I didn't feel that it might impact other users. It requires manifest changes in Android which would have to be applied for all users of the plugin. I am not sure if there is a way to conditionally enable parts of the manifest within a cordova plugin. If we enable it for all users, I don't know if there is any issues in doing so. There might not be. But a bigger problem is on the iOS side. This feature requires libAdIdAccess which has been known to cause app store submissions to fail in the past when this was enabled. There is additional info in the issues related to this: https://github.com/cmackay/google-analytics-plugin/search?q=libAdIdAccess&type=Issues&utf8=%E2%9C%93

If there are ways to address these concerns, I would consider enabling this feature but I am not sure that there is a solution for this. Thanks for your message.

-Craig

cmackay avatar Mar 15 '17 12:03 cmackay

Hi @cmackay thanks for your response. It should prob. be possible with something like a variable or hook? --variable INSTALLTRACKING="true". I'm not really a plugin-api-pro, but I guess it should be possible this way.

I am already using AdID, and it's not a big deal at all, as long you toggle the correct checkboxes at submit-progress.

hirbod avatar Mar 15 '17 12:03 hirbod

I would recommend forking the project if you want to add this. I am not adding libAdIdAccess due to issues it has caused in the past.

cmackay avatar Mar 15 '17 12:03 cmackay

Managing and keeping a fork is pretty time intensive. I would like to figure out if there is any way to include a condition which doesn't interfere with other users setup. (your point is totally clear to me)

hirbod avatar Mar 15 '17 13:03 hirbod

If you find a good solution that will not impact other users and you are willing to help in supporting users as a result of your changes, I welcome a pull request. I just don't want to get caught up in supporting app store rejection issues again. :) Thanks!

cmackay avatar Mar 15 '17 13:03 cmackay