Skip to content

Commit 42fa66f

Browse files
committed
Enhance: Add configurable storage options and expiration to StartIO ID module
1 parent e72fd1b commit 42fa66f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

modules/startioIdSystem.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ To enable iframe-based user syncing for Start.io, include the `filterSettings` c
1212
pbjs.setConfig({
1313
userSync: {
1414
userIds: [{
15-
name: 'startioId'
15+
name: 'startioId',
16+
storage: {
17+
type: 'cookie&html5', // 'cookie', 'html5', or 'cookie&html5'
18+
name: 'startioId',
19+
expires: 365 // optional, 90 days by default
20+
}
1621
}],
1722
filterSettings: {
1823
iframe: {

0 commit comments

Comments
 (0)