Analytics

The Send2CRM client automatically records visitor behavior and compiles this into useful analytics.

Visitors are categorized as either Anonymous or Identified, depending on whether they have supplied identifying information via a form submission. In both cases Send2CRM records visitor behavior and stores it in browser local storage. Information is only sent to the service for Identified Visitors.

Local data

Two types of data are kept in browser local storage:

  • Visitor information. A single object, retained forever unless removed by the user.

  • Sessions. A new Session is created when the configured interval has elapsed since the last activity. These are retained until the storage limit is reached, at which point the oldest are automatically removed to make room for new entries.

Private browsing controls are respected, Send2CRM will not record behavior when enabled. This is handled automatically by browsers disabling access to local storage.

When local storage is not available due to private browsing or unsupported by browser, the send2crm.analytics object will be undefined. Code your references with the optional chaining operator to avoid errors, e.g. send2crm.analytics?.setGoal().

Â