adjust归因回调后上报事件
This commit is contained in:
parent
87a3a16376
commit
ab3f9476c9
|
@ -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);
|
Debug.Log("Attribution changed network: " + attribution.Network + " campaign: " + attribution.Campaign + " adgroup: " + attribution.Adgroup + " creative: " + attribution.Creative);
|
||||||
AdjustNetwork.Instance.SetNetwork(attribution.Network);
|
AdjustNetwork.Instance.SetNetwork(attribution.Network);
|
||||||
SaveProperties(attribution);
|
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)
|
private void SaveProperties(AdjustAttribution attribution)
|
||||||
|
|
Loading…
Reference in New Issue