Skip to content

Commit ac58c53

Browse files
authored
Merge pull request #306 from segmentio/repo-sync
repo sync
2 parents 18384ce + 3cde43b commit ac58c53

File tree

1 file changed

+10
-0
lines changed
  • src/connections/sources/catalog/libraries/mobile/react-native

1 file changed

+10
-0
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/classic.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,16 @@ import analytics from '@segment/analytics-react-native';
506506
analytics.setIDFA("123");
507507
```
508508
509+
You will also need to set the `trackAdvertising` property to `true` in your configuration.
510+
511+
```java
512+
analytics.setup('YOUR_WRITE_KEY', {
513+
// ...
514+
ios:{
515+
trackAdvertising: true
516+
},
517+
})
518+
```
509519
510520
### Using a custom anonymousID
511521

0 commit comments

Comments
 (0)