Skip to main content
Version: v1

Selectively capture parts of your site based on explicit user consent

HTML Elements (UIViews, or Views on Native Mobile) that have been configured to "Capture data with user consent" in Fullstory's privacy settings are captured in combination with an FS.consent invocation.

FS.consent(true) must be called to begin capturing elements that have been configured to capture with user consent.

Parameters
    userConsents boolean required

    If true, elements or views within an application configured to capture with user consent in Fullstory's privacy settings will begin capturing. If false, these elements will no longer be captured by Fullstory.

Additional Information

FS.consent(userConsents)

Example Invocation

Start capturing elements
FS.consent(true);
Stop capturing elements
FS.consent(false);