optional - String

Use this option to control whether sessions that traverse different subdomains on your site are kept intact or broken up into sessions specific to each subdomain. Set this to the highest-level hostname sessions should be shared across (e.g. example.com or shared.example.com). Leave it unspecified if you want a different session per subdomain.

LogRocket.init(YOUR_APP_ID, {
  rootHostname: 'example.com',