Skip to content

Commit

Permalink
feat(mixpanel): add persistence name setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauravudia committed Jul 29, 2023
1 parent 0c97085 commit cde74b3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/configurations/destinations/mp/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"sourceName",
"crossSubdomainCookie",
"persistence",
"persistenceName",
"secureCookie",
"blacklistedEvents",
"whitelistedEvents",
Expand Down Expand Up @@ -62,6 +63,7 @@
"sourceName",
"crossSubdomainCookie",
"persistence",
"persistenceName",
"secureCookie",
"blacklistedEvents",
"whitelistedEvents",
Expand Down
4 changes: 4 additions & 0 deletions src/configurations/destinations/mp/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@
"enum": ["none", "cookie", "localStorage"],
"default": "none"
},
"persistenceName": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
},
"secureCookie": { "type": "boolean", "default": false },
"groupKeySettings": {
"type": "array",
Expand Down
7 changes: 7 additions & 0 deletions src/configurations/destinations/mp/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,13 @@
},
"footerNote": "Choose persistence for Mixpanel SDK"
},
{
"type": "textInput",
"label": "Persistence Name",
"value": "persistenceName",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$",
"footerNote": "Choose persistence name for Mixpanel SDK"
},
{
"type": "checkbox",
"label": "Secure Cookie",
Expand Down

0 comments on commit cde74b3

Please sign in to comment.