Selectively record parts of your site based on explicit user consent

Method

FS.consent(userConsents)

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

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

Parameters

NameDescription
userConsentsIf true, elements or views within an application configured to record with user consent in FullStory's privacy settings will begin recording. If false, these elements will no longer be recorded by FullStory.

Additional Information