All Collections
Developer Docs
Installing Fullview
Disable data capture for specific domains or user properties
Disable data capture for specific domains or user properties
Emma avatar
Written by Emma
Updated over a week ago

Fullview offers a number of ways of disabling data capture for specific users, user roles, environments, or specific domains.

Disabling for a specific user:

When calling the identification method you can set the disableReplaysForUser flag to true. This can be done based on a custom condition that you will create in your code base.

The identification method can be found on the Installation page of your Fullview org.

Disabling data capture for specific user roles:

You can disable data capture for specific user roles. We are currently working on implementing the UI for this feature. In the meantime, you can simply provide Fullview's team a list of all the roles that you have in your product, marked with enabled or disabled.
Eg:

  • admin - enabled

  • manager - enabled

  • user - disabled

This list will be added to your organization's config and will result in only capturing data from users that have at least a role that is enabled (from the example above that would be the 'admin' and 'manager' roles). Any other user role sent via the identification method will be discarded, hence no data will be captured for them.

The identification method can be found on the Installation page of your Fullview org.

Disabling data capture for specific environments:

You can disable data capture for specific product environments where your user is active. We are currently working on implementing the UI for this feature, and in the meantime, you can simply provide Fullview's team a list of all the environmnets that you have in your product, marked with enabled or disabled.
Eg:

  • dev - disabled

  • stage - disabled

  • production - enabled

This list will be added to your organization's config and will result in only capturing data from users that have at least one environment that is enabled (from the example above that would be the 'production'). Any other user environment sent via the identification method will be discarded, hence no data will be captured for it.

The identification method can be found on the Installation page of your Fullview org.

Disabling data capture for specific domains:

You can disable data capture for specific URLs. We are currently working on implementing the UI for this feature, and in the meantime, you can follow the following steps:

❗️Make sure that you use your unique Fullview org id from the Installation page.

For non-SPA products:

If you have a non-SPA, you can add Fullview's script only in the head of the pages where you want to capture data from.

For SPA products:

If you have a SPA, you would need your own custom logic that differentiates between the pages where you want to capture data and the ones that are blocked:

  • when your customer lands on a page that you want to capture data from, inject the Fullview script programmatically like this:

const script = document.createElement('script');
script.type = 'text/javascript';
script.async = true; script.src = 'https://install.fullview.io';
script.dataset.org = 'Your Organisation Id';
document.head.appendChild(script);
  • then call the customer identification method

window.$fvIdentity = {
id: user._id,
email: user.email,
name: user.name
//plus other custom data you want to send for each customer
};
  • when your customer is switching from a page where the above script is loaded, to a page you don't want to capture data from, you need to unload the Fullview script

window.$fvUnloadSDK();
Did this answer your question?