adjust归因回调后上报事件

This commit is contained in:
玉峰 2025-09-03 13:59:24 +08:00
parent 87a3a16376
commit ab3f9476c9
1 changed files with 8 additions and 0 deletions

View File

@ -55,6 +55,14 @@ public class AdjustManager : D_MonoSingleton<AdjustManager>
Debug.Log("Attribution changed network: " + attribution.Network + " campaign: " + attribution.Campaign + " adgroup: " + attribution.Adgroup + " creative: " + attribution.Creative);
AdjustNetwork.Instance.SetNetwork(attribution.Network);
SaveProperties(attribution);
var properties = new Dictionary<string, object>();
properties.Add("ad_network", AdjustManager.GetAdNetwork());
properties.Add("campaign", AdjustManager.GetCampaign());
properties.Add("adgroup", AdjustManager.GetAdgroup());
properties.Add("creative", AdjustManager.GetCreative());
ShuShuEvent.Instance.UserSet(properties);
AppSDKManager.Instance.SetSuperProperties(properties);
}
private void SaveProperties(AdjustAttribution attribution)