Advertising tracking Disabled

Hello, I’ve been testing GameAnalytics and it seems that they are working fine in Simulator and in my iPhone 5.

But when I’m going to test in android I get this error. 

============================================================

01-20 17:22:49.483  32119-32134/? I/Corona﹕ GA: Advertising tracking is disabled on this device.

01-20 17:22:49.483  32119-32134/? I/Corona﹕ GA: No data will be sent to GameAnalytics.

01-20 17:22:49.483  32119-32134/? I/Corona﹕ GA: ============================================================

I made a serch in internet and corona forums but I don’t find a solution.

Anyone knows why is caused?

Hi @PromineoStudios,

Did you include the AdvertisingID plugin as indicated in the GameAnalytics documentation?

http://docs.coronalabs.com/plugin/gameanalytics/index.html

Brent

It is not an error but a warning that the user opt’ed out of letting the app use the advertising id on the specific device.

The plugin respects users privacy settings.

On iOS this option is called “limit ad tracking” and is found in the privacy settings.

In Android settings its called something like “opt out of interest-based ads” and you will find it under the Google settings.

You can’t test when opt’ed out.

Hi again, Brent, onjab

 

I found the setting in Android devices that changes this. BUT. There is a really weird behaviour, it works in reverse as It should

 

 

Google Settings app > Ads > “Opt out of interest-based ads”

 

If disabled (setting by default) -> GameAnalytics is blocked

01-21 13:49:29.578  17027-17043/? I/Corona﹕ GA: ============================================================

01-21 13:49:29.578  17027-17043/? I/Corona﹕ GA: Advertising tracking is disabled on this device.

01-21 13:49:29.578  17027-17043/? I/Corona﹕ GA: No data will be sent to GameAnalytics.

01-21 13:49:29.578  17027-17043/? I/Corona﹕ GA: ============================================================

 

If enabled -> GameAnalytics is initialized and everything works.

 

1-21 13:47:57.808  16577-16592/? I/Corona﹕ GA: ============================================================

01-21 13:47:57.808  16577-16592/? I/Corona﹕ GA: Game Analytics v. 0.2.9 initialized.

01-21 13:47:57.808  16577-16592/? I/Corona﹕ GA: ------------------------------------------------------------

01-21 13:47:57.818  16577-16592/? I/Corona﹕ GA: User ID:       353849068417016

01-21 13:47:57.818  16577-16592/? I/Corona﹕ GA: Session ID:    d51156dd17e8e506a1cbdb7f17e69e17

01-21 13:47:57.818  16577-16592/? I/Corona﹕ GA: ============================================================

This should work in reverse!!

In iOS this work perfect:

Settings > Select Privacy > Select Advertising >“Limit Ad Tracking”

Disabled -> GameAnalytics  work

Enabled ->  GameAnalytics  blocked

This analytics are a really important feature in our game to balance the hardness. As we are in beta testing stages, we will really appreciate if you could fix the gameanalytics plugin. 

All these tests were made with daily build CoronaSDK 2015.2534

Thanks,
Pablo

Promineo Studios

Hi Pablo, Brent

I suspect this is a bug in the advertisingId plugin returning inconsistent booleans between iOS and Android device settings.

@Brent can you confirm this?

@Pablo

For beta testing you can safely remove the plugin.advertisingId entry in the build.settings and the GameAnalytics plugin will ignore the privacy settings of the device.

Just found the time to test this on device and I can confirm that there is a bug in the advertisingId plugin.

When calling advertisingId.isTrackingEnabled() on Android It will report that advertising tracking is enabled when it is not and vice versa.

This is inconsistent with iOS.

I reported the bug: case 38469

@Brent 

Any chance you could push this fix? 

The bug is critical for the GameAnalytics plugin.

Hi @ojnab,

I’ve reported this to the engineers for testing and confirmation. Thanks for filing the bug.

Brent

Thank you so much Brent, onjab!

For the testing I just removed the advertisingID in build.settings. When fixed we can test the plugin.

Thanks!

@Brent

Any news on this?

I know enginers are probably busy with the 64 bit transitioning, but this is a matter of flipping a bool.

Thanks

We are close to the submission of the app. This feature is really important for us!

@promineostudio

I just got a bug case notice that the bug in the advertisingId plugin was fixed.

Thanks Brent and team!

Thanks @onjab, Brent and team!

Hi @PromineoStudios,

Did you include the AdvertisingID plugin as indicated in the GameAnalytics documentation?

http://docs.coronalabs.com/plugin/gameanalytics/index.html

Brent

It is not an error but a warning that the user opt’ed out of letting the app use the advertising id on the specific device.

The plugin respects users privacy settings.

On iOS this option is called “limit ad tracking” and is found in the privacy settings.

In Android settings its called something like “opt out of interest-based ads” and you will find it under the Google settings.

You can’t test when opt’ed out.

Hi again, Brent, onjab

 

I found the setting in Android devices that changes this. BUT. There is a really weird behaviour, it works in reverse as It should

 

 

Google Settings app > Ads > “Opt out of interest-based ads”

 

If disabled (setting by default) -> GameAnalytics is blocked

01-21 13:49:29.578  17027-17043/? I/Corona﹕ GA: ============================================================

01-21 13:49:29.578  17027-17043/? I/Corona﹕ GA: Advertising tracking is disabled on this device.

01-21 13:49:29.578  17027-17043/? I/Corona﹕ GA: No data will be sent to GameAnalytics.

01-21 13:49:29.578  17027-17043/? I/Corona﹕ GA: ============================================================

 

If enabled -> GameAnalytics is initialized and everything works.

 

1-21 13:47:57.808  16577-16592/? I/Corona﹕ GA: ============================================================

01-21 13:47:57.808  16577-16592/? I/Corona﹕ GA: Game Analytics v. 0.2.9 initialized.

01-21 13:47:57.808  16577-16592/? I/Corona﹕ GA: ------------------------------------------------------------

01-21 13:47:57.818  16577-16592/? I/Corona﹕ GA: User ID:       353849068417016

01-21 13:47:57.818  16577-16592/? I/Corona﹕ GA: Session ID:    d51156dd17e8e506a1cbdb7f17e69e17

01-21 13:47:57.818  16577-16592/? I/Corona﹕ GA: ============================================================

This should work in reverse!!

In iOS this work perfect:

Settings > Select Privacy > Select Advertising >“Limit Ad Tracking”

Disabled -> GameAnalytics  work

Enabled ->  GameAnalytics  blocked

This analytics are a really important feature in our game to balance the hardness. As we are in beta testing stages, we will really appreciate if you could fix the gameanalytics plugin. 

All these tests were made with daily build CoronaSDK 2015.2534

Thanks,
Pablo

Promineo Studios

Hi Pablo, Brent

I suspect this is a bug in the advertisingId plugin returning inconsistent booleans between iOS and Android device settings.

@Brent can you confirm this?

@Pablo

For beta testing you can safely remove the plugin.advertisingId entry in the build.settings and the GameAnalytics plugin will ignore the privacy settings of the device.

Just found the time to test this on device and I can confirm that there is a bug in the advertisingId plugin.

When calling advertisingId.isTrackingEnabled() on Android It will report that advertising tracking is enabled when it is not and vice versa.

This is inconsistent with iOS.

I reported the bug: case 38469

@Brent 

Any chance you could push this fix? 

The bug is critical for the GameAnalytics plugin.

Hi @ojnab,

I’ve reported this to the engineers for testing and confirmation. Thanks for filing the bug.

Brent

Thank you so much Brent, onjab!

For the testing I just removed the advertisingID in build.settings. When fixed we can test the plugin.

Thanks!

@Brent

Any news on this?

I know enginers are probably busy with the 64 bit transitioning, but this is a matter of flipping a bool.

Thanks