Skip to main content

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

FullStory.consent(userConsents)

Example Invocation

Start capturing elements

FullStory.consent(true)

Stop capturing elements

FullStory.consent(false)