|
@@ -34,7 +34,7 @@
|
|
// if true, cookie will be set with SameSite=None; Secure
|
|
// if true, cookie will be set with SameSite=None; Secure
|
|
// this is only useful in special situations, like embedded
|
|
// this is only useful in special situations, like embedded
|
|
// 3rd-party iframes that set up a Mixpanel instance
|
|
// 3rd-party iframes that set up a Mixpanel instance
|
|
- cross_site_cookie: false,
|
|
|
|
|
|
+ cross_site_cookie: secure,
|
|
// super properties span subdomains
|
|
// super properties span subdomains
|
|
cross_subdomain_cookie: true,
|
|
cross_subdomain_cookie: true,
|
|
// debug mode
|
|
// debug mode
|
|
@@ -67,7 +67,7 @@
|
|
property_blacklist: [],
|
|
property_blacklist: [],
|
|
// if this is true, mixpanel cookies will be marked as
|
|
// if this is true, mixpanel cookies will be marked as
|
|
// secure, meaning they will only be transmitted over https
|
|
// secure, meaning they will only be transmitted over https
|
|
- secure_cookie: false,
|
|
|
|
|
|
+ secure_cookie: true,
|
|
// the amount of time track_links will
|
|
// the amount of time track_links will
|
|
// wait for Mixpanel's servers to respond
|
|
// wait for Mixpanel's servers to respond
|
|
track_links_timeout: 300,
|
|
track_links_timeout: 300,
|
|
@@ -76,7 +76,7 @@
|
|
// properties from it, then the old cookie is deleted
|
|
// properties from it, then the old cookie is deleted
|
|
// The upgrade config option only works in the initialization,
|
|
// The upgrade config option only works in the initialization,
|
|
// so make sure you set it when you create the library.
|
|
// so make sure you set it when you create the library.
|
|
- upgrade: true,
|
|
|
|
|
|
+ upgrade: false,
|
|
// extra HTTP request headers to set for each API request, in
|
|
// extra HTTP request headers to set for each API request, in
|
|
// the format {'Header-Name': value}
|
|
// the format {'Header-Name': value}
|
|
xhr_headers: {},
|
|
xhr_headers: {},
|