DEVELOPER CENTER
...
The Script tag
data-Attributes

data-user-id

4min

Supported Types

  • Constant
  • JavaScript Function
  • JavaScript Global Variable

Used By

  • All Libraries except $pinc.auth

What does it do?

The data-user-id is your end user's ID and could be your user's email id or a username. It is the ID that will be associated with the authorization and the data that is communicated between applications once authorized.



The data-user-id is requested in Step 1 and Step 2 of Deploy.



Step 1

Requested in the <head> script tag



Document image




Step 2

Requested in the message sending code base

Document image








Need help? Reach out to us at [email protected] and we would be happy to assist!

Updated 03 Mar 2023
Doc contributor
Doc contributor
Did this page help you?