EngageServer.identity(eventData, req[, extensionData])
Note
This is a server-side function used for implementing server-side tracking. If you want to implement client-side tracking instead, use the client-side functions.
The identity() function sends an IDENTITY event. The IDENTITY event is used to resolve the identity of an anonymous user of your app and turn them into a known user.
sidebar. Parameters
| Parameter | Type | Description |
|---|---|---|
eventData | object | All the event data. |
req | object | The HTTP request. |
[extensionData]optional | object | Custom data about an event. Maximum 50 custom attributes of your choice. |
Example 14. Next app
Here's an example of how to use the identity() function in a Next app.
If you have suggestions for improving this article, let us know!