Skip to content

Commit

Permalink
update README.md (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit9616 authored Nov 29, 2021
1 parent 5290265 commit ef27a4e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* [Track Simple Event](#qs-track-simple-event)
* [Track with Currency & Revenue Event](#qs-track-event-with-currencey)
* [Add custom params with event](#qs-add-custom-parms-event)
* [Track Uninstall](#qs-track-uninstall)
* [Proguard Settings](#qs-progaurd-trackier-sdk)

## <a id="qs-add-trackier-sdk"></a>Add Trackier SDK to your app
Expand Down Expand Up @@ -338,6 +339,23 @@ ___
* Pass its reference to event.ev param of event
* Pass event reference to trackEvent method of TrackerSDK


## <a id="qs-track-uninstall"></a>Track Uninstall

---
#### Java
---
```java
private FirebaseAnalytics mFirebaseAnalytics;
FirebaseAnalytics mFirebaseAnalytics = FirebaseAnalytics.getInstance(this);
mFirebaseAnalytics.setUserProperty("ct_objectId", Objects.requireNonNull(TrackierSDK.getTrackierId()));
```

* Add the above code to your app to set up a common identifier.
* Set the `app_remove` event as a conversion event in Firebase.
* Use the Firebase cloud function to send uninstall information to Trackier MMP.


## <a id="qs-progaurd-trackier-sdk"></a>Proguard Settings

If your app is using proguard then add these lines to the proguard config file
Expand Down

0 comments on commit ef27a4e

Please sign in to comment.