Delete all attributes
wf.deleteAllAttributes(scope)
Delete all custom attributes for the current user or page view. This method removes previously set attributes from storage.
Syntax
Parameters
- scope:
'user'
|'pageview'
- The scope of the attributes. You can choose to set attributes for the current user or the current page view.
Example implementation
Returns
This method doesn’t return a value. It only deletes the specified attributes from storage. To see updated attributes, use wf.getAttributes()
.