Skip to content

Commit c8fe13e

Browse files
committed
fix: added setRequestMetadata() example in testbed
1 parent 9f8763d commit c8fe13e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testbed/www/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function BranchInit (isDebug) {
3131
Branch.setCookieBasedMatching('cordova.app.link')
3232

3333
// sync with Mixpanel if installed
34-
Branch.setMixpanelToken('your_mixpanel_token')
34+
Branch.setRequestMetadata('$mixpanel_distinct_id', 'your_mixpanel_token')
3535

3636
// Branch initialization
3737
Branch.initSession(function (data) {

0 commit comments

Comments
 (0)