You can integrate Osano with Instapage to manage cookie consent and help keep your landing pages compliant with privacy regulations.
Before getting started, make sure your Instapage landing page has already been published.
Add a Consent Configuration in Osano
Log in to Osano and create a new Consent Configuration.
From the Osano dashboard, click Add Consent Configuration. Enter the following details:
- Configuration name
- Your landing page domain
- The URL of the published Instapage page
Once completed, click Create Configuration.
After creating the configuration, a modal titled Consent Management Source will appear. Copy the script provided in the modal.
Add the Osano Script to Instapage
In Instapage, open your landing page settings and navigate to Scripts & Privacy.
Paste the Osano script into the Head section of the page.
Directly below the Osano script, add the following code snippet:
<script>
window.Osano.cm.addEventListener("osano-cm-consent-saved", function (consentObject) {
if (consentObject.ANALYTICS === "ACCEPT") {
window._instapageConsentManagement('enableAll');
} else if (consentObject.ANALYTICS === "DENY") {
window._instapageConsentManagement('disableAll')
}
});
</script>Save your changes and update the page.
Customize the Cookie Consent Banner
Return to Osano and customize your cookie consent dialog as needed.
When configuring the consent manager, make sure the Consent Management mode is set to Discovery/Listener.
Categorize Discovered Cookies
After the scan is complete, navigate to Cookies and select View Discovered Cookies.
Review the discovered cookies and assign the appropriate classifications:
- Analytics
- Essential
- Marketing
- Personalization
- Blacklisted
Save your changes once categorization is complete.
Configure Script Classifications
Open the Scripts tab in Osano and configure the script classifications as follows:
- Set
https://heatmap-events-collector.instapage.com/static/lib.jsto Analytics - Set the remaining four scripts to Essential
Save your changes.
Publish the Consent Manager
The final step is to change the Consent Management mode to either:
- Permissive, or
- Strict
Publish the cookie consent configuration once the desired mode has been selected.
Your Instapage landing page is now integrated with Osano, and visitors will see the consent manager when accessing the page.