getUserEmail
DeprecatedThis method is no longer recommended. Audience Manager is no longer available in the latest product version.
The getUserEmail() method returns the current user email.
Syntax
const currentUserEmail = await PiwikProSdk.getUserEmail();Returns
The current user email.
Type: string
Examples
To read the current user email:
const currentUserEmail = await PiwikProSdk.getUserEmail();Related methods
- setUserEmail() (deprecated)
Updated 7 days ago