Custom Scripts
Inject custom HTML code into your portal page.
You can use custom scripts to add custom HTML, CSS, and JavaScript to your portal page.
This can be useful for adding external scripts such as Google Analytics, Crisp, Intercom, Amplitude and more.
Adding Custom Scripts
To add custom scripts to your portal page, navigate to the Custom Scripts section in your dashboard.
Here you can add custom HTML, CSS, and JavaScript to your portal page, either before the end of the </head>
tag or before the </body>
tag.
Accessing user’s data
When you add custom JavaScript to your portal page, you can access the kobble
object which provides access to the user object.
Here’s the type definition for the kobble
object.
Here’s an example of how you can access the kobble
object from a custom html code (either from the Head or the Body code):