Why statement dependency 'com.android.installreferrer:installreferrer' for Install Referrer Module?

Bronze Contributor
Bronze Contributor

https://docs.tealium.com/platforms/android-kotlin/module-list/install-referrer/#maven

The Google Install Referrer API is a dependency for this module, but is not automatically added for you. Add the module to your build.”

From the document, it required to statement an extra dependency of 'com.android.installreferrer:installreferrer'. But it looks like no where in my build will use it. Can you explain why we need it?

 

1 REPLY 1

Why statement dependency 'com.android.installreferrer:installreferrer' for Install Referrer Module?

Gold Contributor
Gold Contributor

The Google Install Referrer API is a dependency for the Tealium Install Referrer module because it helps the module to accurately attribute app installs to specific marketing campaigns or sources. The Install Referrer API is used to retrieve the install referrer information, which is crucial for understanding where your app's installs are coming from and optimizing your marketing efforts.

While you may not see an explicit usage of the Install Referrer API in your build, it is used behind the scenes by the Tealium Install Referrer module to fetch the referrer data. By adding the 'com.android.installreferrer:installreferrer' dependency to your build, you ensure that the Tealium Install Referrer module has access to the necessary API to function correctly.

In short, including the Google Install Referrer API as a dependency is required for the Tealium Install Referrer module to work properly and provide you with accurate install attribution data.

shivam joshi
Public