Carrd Integration
Add Ovyxa analytics to your Carrd site by embedding a script in the head code section.
Step 1: Open Site Settings
- In the Carrd editor, click the gear icon (Site Settings) in the top-left
- Navigate to the Head section
Step 2: Add the Tracking Script
Paste the following in the Head code field:
<script
defer
data-domain="yourdomain.com"
src="https://ovyxa.com/js/script.js"
></script>
Click Save and publish your site.
Tracking Custom Events
To track button clicks or form submissions, add an Embed element to your page with the following code:
<script>
document.addEventListener('click', function(e) {
if (e.target.closest('form button[type="submit"]')) {
window.ovyxa('event', 'FormSubmit', { props: { page: document.title } })
}
})
</script>
Or trigger events programmatically:
window.ovyxa('event', 'SignupClick', { props: { source: 'landing-page' } })
Cookieless Mode
To avoid cookie consent requirements, add the data-cookieless attribute:
<script
defer
data-domain="yourdomain.com"
data-cookieless
src="https://ovyxa.com/js/script.js"
></script>
Verify Installation
- Publish your Carrd site
- Visit the live published URL
- Open the browser Network tab and look for a request to
ovyxa.com/js/script.js - Check your Ovyxa dashboard to confirm pageviews are appearing
Note: Head code injection requires a Carrd Pro plan (Pro Standard, Pro Plus, or Pro Max).