Amplitude Connector
Descope's Amplitude connector will allow you to use Amplitude for analytics. Amplitude is an analytics product which collects events from your app either web/mobile and presents them in a unified manner and to utilize them to better understand your customer needs.
Configure Amplitude connector
Navigate to Descope's connector menu and search for Amplitude Connector. Fill in the following parameters required for the connection:
- Name: Connector's custom name. This will be helpful when creating multiple connectors from the same template.
- Description: (Optional) Describes the purpose of this connector.
- API Key: The Amplitude API Key generated for the Descope service. Read more on how to find it in Amplitude
- Server URL: (Optional) The server URL of Amplitude API, when using different API or a custom domain in Amplitude.
- Server Zone: (Optional) Sets amplitude's server to EU or US zone. Default being US zone.
Testing
Before creating your connector, verify its working by clicking on "Test". The Test Results tab gives a successful result of a test event being created on Amplitude.
Add Amplitude connector to a flow
Navigate to Flows, choose your flow. Then, tap the create button (designated via the + icon), select Connector, and choose the Amplitude tracking option.
Click to set down the connector in your flow editor and fill out the fields:
- Event: Name of the event you are tracking
- User ID: The unique ID of the user
- Device ID: User's device ID
- Event Property: Any additional information that you can tie with the event which will help for better analytics.
- User Property: Additional information related to the user like their IP address etc.
- Opt out: Here, you set permission to allow Amplitude to post events. If
true
, prevents Amplitude from tracking and uploading events. Default value isFalse
.
Now, link your connector in your authentication flow, making sure it's placed after any required attributes you just chose are defined.
Simply by adjusting the attributes and location of the connector, you can track anything from a user sign up/in to the method used for authentication.
Viewing Logs
The events are then reflected on Amplitude's dashboard. Further analysis can be achieved by creating customized dashboards for better understanding.