We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

How to check whether a user is confirmed for double opt-in or not via JavaScript?

If you are using our Double opt-in feature in order for users to confirm their email address after registration, you are able to check if a user has confirmed it or not by using the following JavaScript snippet:

tp.pianoId.getUser()

And in the response, there will be a parameter confirmed with the values either true if the user has confirmed their email address or false if not.

Last updated: