Skip to content

Commit 0e7bc54

Browse files
authored
Merge pull request #463 from adjust/readme-update
README update
2 parents f19368e + d60e96c commit 0e7bc54

File tree

1 file changed

+42
-3
lines changed

1 file changed

+42
-3
lines changed

README.md

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Read this in other languages: [English][en-readme], [中文][zh-readme], [日本
6767
* [Google Play Services advertising identifier](#af-gps-adid)
6868
* [Amazon advertising identifier](#af-amazon-adid)
6969
* [Adjust device identifier](#af-adid)
70-
* [Pre-installed trackers](#af-pre-installed-trackers)
70+
* [Preinstalled apps](#af-preinstalled-apps)
7171
* [Offline mode](#af-offline-mode)
7272
* [Disable tracking](#af-disable-tracking)
7373
* [Event buffering](#af-event-buffering)
@@ -1688,9 +1688,48 @@ let adid = Adjust.getAdid();
16881688

16891689
**Note**: Information about the **adid** is only available after our backend tracks the app instal. **It is not possible** to access the **adid** value before the SDK has been initialized and the installation of your app has been successfully tracked.
16901690

1691-
### <a id="af-pre-installed-trackers"></a>Pre-installed trackers
1691+
### <a id="af-preinstalled-apps"></a>Preinstalled apps
16921692

1693-
If you want to use the Adjust SDK to recognize users whose devices came with your app pre-installed, follow these steps:
1693+
You can use the Adjust SDK to recognize users whose devices had your app preinstalled during manufacturing. Adjust offers two solutions: one which uses the system payload, and one which uses a default tracker.
1694+
1695+
In general, we recommend using the system payload solution. However, there are certain use cases which may require the tracker. [Visit our Help Center](https://help.adjust.com/en/article/pre-install-tracking) to find out about Adjust's preinstall partners and their integrations. If you are unsure which solution to implement, reach out to [email protected]
1696+
1697+
#### Use the system payload
1698+
1699+
This solution is supported from **SDK v4.23.0 & above**.
1700+
1701+
Enable the Adjust SDK to recognise preinstalled apps by calling `setPreinstallTrackingEnabled` with the parameter `true` after creating the config object:
1702+
1703+
<table>
1704+
<tr>
1705+
<td>
1706+
<b>Native App SDK</b>
1707+
</td>
1708+
</tr>
1709+
<tr>
1710+
<td>
1711+
1712+
```java
1713+
adjustConfig.setPreinstallTrackingEnabled(true);
1714+
```
1715+
</td>
1716+
</tr>
1717+
<tr>
1718+
<td>
1719+
<b>Web View SDK</b>
1720+
</td>
1721+
</tr>
1722+
<tr>
1723+
<td>
1724+
1725+
```js
1726+
adjustConfig.setPreinstallTrackingEnabled(true);
1727+
```
1728+
</td>
1729+
</tr>
1730+
</table>
1731+
1732+
#### Use a default tracker
16941733

16951734
- Create a new tracker in your [dashboard].
16961735
- Open your app delegate and set the default tracker of your config:

0 commit comments

Comments
 (0)