@@ -504,10 +504,10 @@ The default config is:
504504 track: ' track/' ,
505505 engage: ' engage/' ,
506506 groups: ' groups/' ,
507- }
507+ },
508508
509509 // HTTP method for tracking requests
510- api_method: ' POST'
510+ api_method: ' POST' ,
511511
512512 // transport for sending requests ('XHR' or 'sendBeacon')
513513 // NB: sendBeacon should only be used for scenarios such as
@@ -516,7 +516,7 @@ The default config is:
516516 // or any way to know the result of the request. Mixpanel
517517 // tracking via sendBeacon will not support any event-
518518 // batching or retry mechanisms.
519- api_transport: ' XHR'
519+ api_transport: ' XHR' ,
520520
521521 // request-batching/queueing/retry
522522 batch_requests: true ,
@@ -536,85 +536,85 @@ The default config is:
536536 // correct cross-subdomain cookies on unusual domains like
537537 // subdomain.mainsite.avocat.fr; NB this cannot be used to
538538 // set cookies on a different domain than the current origin
539- cookie_domain: ' '
539+ cookie_domain: ' ' ,
540540
541541 // super properties cookie expiration (in days)
542- cookie_expiration: 365
542+ cookie_expiration: 365 ,
543543
544544 // if true, cookie will be set with SameSite=None; Secure
545545 // this is only useful in special situations, like embedded
546546 // 3rd-party iframes that set up a Mixpanel instance
547- cross_site_cookie: false
547+ cross_site_cookie: false ,
548548
549549 // super properties span subdomains
550- cross_subdomain_cookie: true
550+ cross_subdomain_cookie: true ,
551551
552552 // debug mode
553- debug: false
553+ debug: false ,
554554
555555 // if this is true, the mixpanel cookie or localStorage entry
556556 // will be deleted, and no user persistence will take place
557- disable_persistence: false
557+ disable_persistence: false ,
558558
559559 // if this is true, Mixpanel will automatically determine
560560 // City, Region and Country data using the IP address of
561- // the client
562- ip: true
561+ // the client
562+ ip: true ,
563563
564564 // opt users out of tracking by this Mixpanel instance by default
565- opt_out_tracking_by_default: false
565+ opt_out_tracking_by_default: false ,
566566
567567 // opt users out of browser data storage by this Mixpanel instance by default
568- opt_out_persistence_by_default: false
568+ opt_out_persistence_by_default: false ,
569569
570570 // persistence mechanism used by opt-in/opt-out methods - cookie
571571 // or localStorage - falls back to cookie if localStorage is unavailable
572- opt_out_tracking_persistence_type: ' localStorage'
572+ opt_out_tracking_persistence_type: ' localStorage' ,
573573
574574 // customize the name of cookie/localStorage set by opt-in/opt-out methods
575- opt_out_tracking_cookie_prefix: null
575+ opt_out_tracking_cookie_prefix: null ,
576576
577577 // type of persistent store for super properties (cookie/
578578 // localStorage) if set to 'localStorage', any existing
579579 // mixpanel cookie value with the same persistence_name
580580 // will be transferred to localStorage and deleted
581- persistence: ' cookie'
581+ persistence: ' cookie' ,
582582
583583 // name for super properties persistent store
584- persistence_name: ' '
584+ persistence_name: ' ' ,
585585
586586 // names of properties/superproperties which should never
587587 // be sent with track() calls
588- property_blacklist: []
588+ property_blacklist: [],
589589
590590 // if this is true, mixpanel cookies will be marked as
591591 // secure, meaning they will only be transmitted over https
592- secure_cookie: false
592+ secure_cookie: false ,
593593
594594 // disables enriching user profiles with first touch marketing data
595- skip_first_touch_marketing: false
595+ skip_first_touch_marketing: false ,
596596
597597 // the amount of time track_links will
598598 // wait for Mixpanel's servers to respond
599- track_links_timeout: 300
599+ track_links_timeout: 300 ,
600600
601601 // adds any UTM parameters and click IDs present on the page to any events fired
602- track_marketing: true
602+ track_marketing: true ,
603603
604604 // enables automatic page view tracking using default page view events through
605605 // the track_pageview() method
606- track_pageview: false
606+ track_pageview: false ,
607607
608608 // if you set upgrade to be true, the library will check for
609609 // a cookie from our old js library and import super
610610 // properties from it, then the old cookie is deleted
611611 // The upgrade config option only works in the initialization,
612612 // so make sure you set it when you create the library.
613- upgrade: false
613+ upgrade: false ,
614614
615615 // extra HTTP request headers to set for each API request, in
616616 // the format {'Header-Name': value}
617- xhr_headers: {}
617+ xhr_headers: {},
618618
619619 // whether to ignore or respect the web browser's Do Not Track setting
620620 ignore_dnt: false
0 commit comments