Advanced Features

Interest-based advertising

If the player consented to interest-based advertising, to deliver higher quality ads, you can signal that with:

NeftaPlugin._instance.SetTracking(isAuthorized: true)
[NeftaPlugin._instance SetTrackingWithIsAuthorized: true];
NeftaPlugin._instance.SetTracking(true);

Which can be called at anytime, to either grant or revoke permission.


Custom A/B Testing

In case you're running your own A/B tests and modifying the experience for the players based on it, please forward the group like this:

NeftaAdapterEvents.SetExtraParameter(NeftaAdapterEvents.ExtParams.TestGroup, "split-max");
NeftaPlugin.SetExtraParameter(key: NeftaPlugin.ExtParam_TestGroup, value: "split-direct")
[NeftaPlugin SetExtraParameterWithKey: NeftaPlugin.ExtParam_TestGroup value: @"split-direct"];
NeftaPlugin.SetExtraParameter(NeftaPlugin.ExtParam_TestGroup, "split-direct");
Nefta.setExtraParameter(Nefta.extParamTestGroup, "split-f");

Attribution forwarding

For even better LTV insights set the attribution data the following way:

// Adjust "network" or AppsFlyer "media_source" or similar from others ("Google", "AppLovin", ..)
NeftaAdapterEvents.SetExtraParameter("attribution_source", network);
// Adjust "campaign" or AppsFlyer "af_c" or similar from others
NeftaAdapterEvents.SetExtraParameter("attribution_campaign", campaign);
// Adjust "adgroup" or AppsFlyer "af_adset" or similar from others
NeftaAdapterEvents.SetExtraParameter("attribution_adset", adset);
// Adjust "creative" or AppsFlyer "af_ad" or similar from others
NeftaAdapterEvents.SetExtraParameter("attribution_creative", creativeIdentifier);
// Adjust "costAmount" > 0 or AppsFlyer "status" == "Non-organic" or similar from others
NeftaAdapterEvents.SetExtraParameter("attribution_incentivized", "true" | "false");
// Adjust "network" or AppsFlyer "media_source" or similar from others ("Google", "AppLovin", ..)
NeftaPlugin.SetExtraParameter(key: "attribution_source", value: network)
// Adjust "campaign" or AppsFlyer "af_c" or similar from others
NeftaPlugin.SetExtraParameter(key: "attribution_campaign", value: campaign)
// Adjust "adgroup" or AppsFlyer "af_adset" or similar from others
NeftaPlugin.SetExtraParameter(key: "attribution_adset", value: adset)
// Adjust "creative" or AppsFlyer "af_ad" or similar from others
NeftaPlugin.SetExtraParameter(key: "attribution_creative", value: creativeIdentifier)
// Adjust "costAmount" > 0 or AppsFlyer "status" == "Non-organic" or similar from others
NeftaPlugin.SetExtraParameter(key: "attribution_incentivized", value: "true" | "false")
// Adjust "network" or AppsFlyer "media_source" or similar from others ("Google", "AppLovin", ..)
[NeftaPlugin SetExtraParameterWithKey: "attribution_source" value: network];
// Adjust "campaign" or AppsFlyer "af_c" or similar from others
[NeftaPlugin SetExtraParameterWithKey: "attribution_campaign" value: campaign];
// Adjust "adgroup" or AppsFlyer "af_adset" or similar from others
[NeftaPlugin SetExtraParameterWithKey: "attribution_adset" value: adset];
// Adjust "creative" or AppsFlyer "af_ad" or similar from others
[NeftaPlugin SetExtraParameterWithKey: "attribution_creative" value: creativeIdentifier];
// Adjust "costAmount" > 0 or AppsFlyer "status" == "Non-organic" or similar from others
[NeftaPlugin SetExtraParameterWithKey: "attribution_incentivized", value: "true" | "false"];
// Adjust "network" or AppsFlyer "media_source" or similar from others ("Google", "AppLovin", ..)
NeftaPlugin.SetExtraParameter("attribution_source", network);
// Adjust "campaign" or AppsFlyer "af_c" or similar from others
NeftaPlugin.SetExtraParameter("attribution_campaign", campaign);
// Adjust "adgroup" or AppsFlyer "af_adset" or similar from others
NeftaPlugin.SetExtraParameter("attribution_adset", adset);
// Adjust "creative" or AppsFlyer "af_ad" or similar from others
NeftaPlugin.SetExtraParameter("attribution_creative", creativeIdentifier);
// Adjust "costAmount" > 0 or AppsFlyer "status" == "Non-organic" or similar from others
NeftaPlugin.SetExtraParameter("attribution_incentivized", "true" | "false");
// Adjust "network" or AppsFlyer "media_source" or similar from others ("Google", "AppLovin", ..)
Nefta.setExtraParameter("attribution_source", network);
// Adjust "campaign" or AppsFlyer "af_c" or similar from others
Nefta.setExtraParameter("attribution_campaign", campaign);
// Adjust "adgroup" or AppsFlyer "af_adset" or similar from others
Nefta.setExtraParameter("attribution_adset", adset);
// Adjust "creative" or AppsFlyer "af_ad" or similar from others
Nefta.setExtraParameter("attribution_creative", creativeIdentifier);
// Adjust "costAmount" > 0 or AppsFlyer "status" == "Non-organic" or similar from others
Nefta.setExtraParameter("attribution_incentivized", "true" | "false");