This guide shows you how to add Outseta authentication and other features to your Hostinger website.
⚠️ Important: Hostinger's Website Builder only supports Outseta pop-ups. On-page embeds are not supported.
Implementation Steps
Step 1: Access Hostinger's Custom Code
Navigate to Integrations > Custom Code in your Hostinger dashboard.
Step 2: Add the Outseta Script
Start with the script from Auth > Quick start in your Outseta dashboard. Add the monitorDom and stopImmediatePropagation settings to the configuration, so it looks like this:
<!-- Outseta Configuration -->
<script>
var o_options = {
domain: "<your-domain>.outseta.com",
load: "auth,customForm,emailList,leadCapture,nocode,profile,support",
monitorDom: true,
stopImmediatePropagation: true
};
</script>
<!-- Outseta External Script -->
<script
src="https://cdn.outseta.com/outseta.min.js"
data-options="o_options"
></script>
ℹ️ Note: The monitorDom: true and stopImmediatePropagation: true options are additions to the standard Outseta script, required for Hostinger's Website Builder. They ensure Outseta detects dynamically added elements and that pop-up links work correctly.
Step 3: Add Pop-up Links to Your Menu
To add sign-up, login, profile, and logout links to your Hostinger menu:
- In your Hostinger dashboard, go to Pages > Add Link
- Copy the pop-up URLs from Auth > Quick start in Outseta
- Paste each URL as a new link in your menu
The available pop-up links are:
- Sign up:
https://<your-domain>.outseta.com/auth?widgetMode=register#o-anonymous - Login:
https://<your-domain>.outseta.com/auth?widgetMode=login#o-anonymous - Profile:
https://<your-domain>.outseta.com/profile#o-authenticated - Logout:
https://yourwebsite.com/#o-logout-link
Testing Your Integration
After adding the script:
- Save your changes in Hostinger
- Visit your website
- Test the sign-up, login, and profile links
- Verify that Outseta's modals or embeds appear correctly
Troubleshooting
If you're experiencing issues:
- Verify your Outseta domain is correct in the script
- Ensure the script is in the Custom Code section
- Clear your browser cache and test again
- Check your browser's console (F12) for any error messages