Add Project Identifier
The Project Identifier (projectId
) is used to identify your application's configuration, and associate transactions with your application.
Using a swing project identifier allows you to manage your configuration within the Swing Platform. With Swing Platform, you and your team can instantly deploy configurations, see live transaction metrics and more. Learn more about the Swing Platform or sign up for free.
How to get a project identifier
- Create a free account with Swing Platform
- Setup your project and copy your unique project Identifier.
Due to compliance reasons, to give your users the best user experience and to prevent
failed
transactions, we advise you to notify your users whether they're connecting from a restricted jurisdiction or not. Learn more here.
How to add a project identifier
Add your Swing project identifier as a property on the widget component:
React Comonents
For usage within React, you can use the React components directly. You'll need to import each component individually.
Web Components
For usage outside of React, you can use the web components directly. The web components are automatically registered when you import the Swing Widget library.