2424
2525### Add the line below to ` Packages/manifest.json `
2626
27- for version ` 1.0.3 `
27+ for version ` 1.0.4 `
28+
2829``` csharp
29- " com.wolf-org.tracking" : " https://github.com/unity-package/app-tracking-unity.git#1.0.3 " ,
30+ " com.wolf-org.tracking" : " https://github.com/unity-package/app-tracking-unity.git#1.0.4 " ,
3031```
3132
3233## Use
3334
3435#### Firebase Tracking
3536
36- - Add define symbols ` VIRTUESKY_FIREBASE_ANALYTIC ` to use ([ Get Firebase Analytic Sdk] ( https://github.com/firebase-unity/firebase-analytics ) )
37+ - Add define symbols ` VIRTUESKY_FIREBASE_ANALYTIC ` to
38+ use ([ Get Firebase Analytic Sdk] ( https://github.com/firebase-unity/firebase-analytics ) )
3739- Tracking event
40+
3841``` csharp
3942 static void TrackEvent (string eventName )
4043 static void TrackEvent (string eventName , string parameterName , string parameterValue )
4144 static void TrackEvent (string eventName , Dictionary < string , string > dictParameters )
4245 static void TrackEvent (string eventName , Parameter [] parameters )
4346```
47+
4448Example
4549
4650``` csharp
@@ -84,6 +88,7 @@ Example
8488``` csharp
8589 static void FirebaseAnalyticTrackRevenue (double value , string network , string unitId , string format , string adNetwork )
8690```
91+
8792Example
8893
8994``` csharp
@@ -103,6 +108,7 @@ Example
103108```
104109
105110Example
111+
106112``` csharp
107113 void TrackingEventAdjust ()
108114 {
@@ -111,9 +117,11 @@ Example
111117```
112118
113119- Tracking ads revenue
120+
114121``` csharp
115122 static void AdjustTrackRevenue (double value , string network , string unitId , string placement , string adNetwork )
116123```
124+
117125Example
118126
119127``` csharp
@@ -125,7 +133,8 @@ Example
125133
126134#### AppsFlyer Tracking
127135
128- - Add define symbol ` VIRTUESKY_APPSFLYER ` to use ([ Get Appsflyer Sdk] ( https://github.com/AppsFlyerSDK/appsflyer-unity-plugin ) , [ Get AppsFlyer AdRevenue] ( https://github.com/AppsFlyerSDK/appsflyer-unity-adrevenue-generic-connector ) )
136+ - Add define symbol ` VIRTUESKY_APPSFLYER ` to
137+ use ([ Get Appsflyer Sdk] ( https://github.com/AppsFlyerSDK/appsflyer-unity-plugin ) , [ Get AppsFlyer AdRevenue] ( https://github.com/AppsFlyerSDK/appsflyer-unity-adrevenue-generic-connector ) )
129138- Tracking event
130139
131140``` csharp
@@ -160,6 +169,7 @@ Example
160169 AppsFlyerTracking .TrackEvent (" WinGame" , dict );
161170 }
162171```
172+
163173- Tracking ads revenue
164174
165175``` csharp
@@ -174,22 +184,28 @@ Example
174184 AppsFlyerTrackingRevenue .AppsFlyerTrackRevenueAd (.. .);
175185 }
176186```
187+
177188- Tracking iap revenue
178- Add define symbol ` VIRTUESKY_IAP ` to use
189+ Add define symbol ` VIRTUESKY_IAP ` to use
190+
179191``` csharp
180192 static void AppFlyerTrackingRevenueInAppPurchase (Product product )
181193```
182194
183195Example
196+
184197``` csharp
185198 void TrackingRevenue (Product productIAP )
186199 {
187200 AppsFlyerTrackingRevenue .AppFlyerTrackingRevenueInAppPurchase (productIAP );
188201 }
189202```
203+
190204#### App Tracking
191205
192- - Tracking ad revenue (If calling ` Track Revenue ` through ` App Tracking ` , revenue will be tracked in all of Firebase Analytics, Adjust, and AppsFlyer)
206+ - Tracking ad revenue (If calling ` Track Revenue ` through ` App Tracking ` , revenue will be tracked in all of Firebase
207+ Analytics, Adjust, and AppsFlyer)
208+
193209``` csharp
194210 static void TrackRevenue (double value , string network , string unitId , string format , string adNetwork )
195211```
@@ -203,7 +219,7 @@ Example
203219 }
204220```
205221
206- - Firebase tracking ATT Results IOS (App Tracking Transparency)
222+ - Firebase tracking ATT Results IOS (App Tracking Transparency)
207223- Require: ` "com.unity.ads.ios-support": "1.2.0" `
208224
209225``` csharp
0 commit comments