This article applies to customers with Experience Monitoring for Web on our Pro and Enterprise plans.
Use the Contentsquare Console to manage your Experience Monitoring settings, such as the collection of errors and network requests. Determine which errors you want to collect, configure any specific collection rules, and apply personal data masking.
From the Experience Monitoring settings you can:
- Enable or disable the collection of:
- Set up Custom errors
- Set up log levels for Console messages
- View and create API error collection rules
- Apply personal data masking for API errors and Network details
How to access your Experience Monitoring settings
Note
Accessing the Console requires Admin user access.
1. Click your profile icon, followed by ‘Console’.
2. Click the ‘Experience monitoring settings’ tab.
How to start/stop the collection of errors and network details
Note
All errors and network details are collected by default on projects with Experience Monitoring.
Next to any of the errors or network details use the collection dropdowns to:
- Activate collection: this error’s collection is enabled
- Stop collection: this error is no longer collected
How to set up masking rules: Network details and API errors
Collecting Network requests (Network details and API errors) can expose personal data, if their collected URLs are not masked. You must therefore ensure that you have the proper measures in place to prevent the collection of such data, using one of the masking methods below:
- Set up masking rules in the Contentsquare Tag Configurator (CSTC) using the Network requests - mask URLs template
- Use the dedicated tag command to mask URLs directly in your website’s code
Learn more about personal data in Network requests.
Configuring Custom error collection
There are two ways to define the collection for Custom errors:
- Using the Contentsquare Tag Configurator’s (CSTC) Custom Error template
- Using the dedicated tag command directly in your website’s code
Selecting log levels for Console messages
Note
You will need to have Custom error collection enabled before you can set up Console messages, as they share the same infrastructure.
You can collect up to 20 Console messages per pageview, and this is included in the limit of 20 custom errors per pageview.
Use the ‘Set up log levels’ dropdown to select from one, or more, of the log levels that you want to collect. Note, it can take up to 1 hour for the changes to be applied.
Learn more about recommended log level collection and their definitions.
Creating API error collection rules
For API errors, you can create rules to collect more information about them (headers, request/response body content), as well as collect API errors with a status code, not within the 4XX-5XX range, so you can troubleshoot errors faster.
Follow this detailed guide to configure API collection rules.