Install Oriva on any website
Oriva installs with one script pasted in your site's header and one DNS record at your domain host. The DNS record routes tracking through a subdomain of your own site: browsers treat it as part of your store, not as a third-party tool. It works with WordPress, Webflow, Wix, Google Tag Manager, or a hand-coded site.
Why a DNS setting?
Because tracking then goes through a subdomain of your site (for example t.yourstore.com), and the cookie that recognizes the visitor is set by that subdomain, not by a third-party domain. You add a CNAME record at your domain host. The setup wizard tells you where to click at OVH, LWS, o2switch, IONOS, Gandi, Hostinger, GoDaddy, Cloudflare, Vercel and Shopify, and it guesses your host by reading your domain.
To prove the domain is really yours, Oriva also asks for a TXT record, just once.
Where do I paste the script?
- WordPress: with the WPCode plugin, Header tab.
- Webflow: Project Settings → Custom Code → Head Code, then republish the site.
- Wix: Settings → Custom Code, Head placement, all pages. Requires a Wix Premium plan.
- Google Tag Manager: a custom HTML tag, triggered on all pages.
- Hand-coded site, or built with AI: just before
</head>. The wizard gives you a prompt ready to paste into Claude Code, Cursor, Codex or Lovable. It never contains your secret key.
How do I send a sale?
On your confirmation page, one line is enough:
oriva("track", "purchase", { value: 49.9, currency: "EUR", event_id: "CMD-1001" });Use your real order reference as the identifier, never a number generated on every display: otherwise a refresh counts the sale twice.
Connect your cookie banner
By default, Oriva assumes the visitor has not consented to advertising. Without that consent, Oriva measures the visit with no advertising cookie, and nothing goes to Meta, TikTok, Google Ads or OpenAI. Your cookie banner is what passes on the visitor's choice, on every page: place these lines after the Oriva script.
Axeptio
window._axcb = window._axcb || [];
window._axcb.push((axeptio) => {
axeptio.on("cookies:complete", (choices) => oriva("consent", { ads: !!choices.oriva }));
});Declare Oriva as a service in your Axeptio project: “oriva” below is the name you give it.
Didomi
const orivaSyncDidomi = () =>
oriva("consent", {
ads: !!Didomi.getCurrentUserStatus().vendors["ORIVA_VENDOR_ID"]?.enabled,
});
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(orivaSyncDidomi);
window.didomiEventListeners = window.didomiEventListeners || [];
window.didomiEventListeners.push({ event: "consent.changed", listener: orivaSyncDidomi });Declare Oriva as a vendor in your Didomi console, then replace ORIVA_VENDOR_ID with the identifier it gives it.
Cookiebot
window.addEventListener("CookiebotOnConsentReady", () => {
oriva("consent", { ads: Cookiebot.consent.marketing });
});tarteaucitron
tarteaucitron.services.oriva = {
key: "oriva",
type: "ads",
name: "Oriva",
needConsent: true,
cookies: ["or_vid"],
js: () => oriva("consent", { ads: true }),
fallback: () => oriva("consent", { ads: false }),
};
(tarteaucitron.job = tarteaucitron.job || []).push("oriva");Oriva declares itself there as a service, which then appears in your banner.
Complianz
document.addEventListener("cmplz_enable_category", (e) => {
if (e.detail.category === "marketing") oriva("consent", { ads: true });
});
document.addEventListener("cmplz_revoke", () => oriva("consent", { ads: false }));
window.addEventListener("load", () => {
if (window.cmplz_has_consent && cmplz_has_consent("marketing")) {
oriva("consent", { ads: true });
}
});CookieYes
document.addEventListener("cookieyes_banner_load", (e) => {
oriva("consent", { ads: !!e.detail.categories.advertisement });
});
document.addEventListener("cookieyes_consent_update", (e) => {
oriva("consent", { ads: e.detail.accepted.includes("advertisement") });
});On WordPress, the CookieYes plugin must be linked to the CookieYes web app: without that, it does not emit these events.
How do I know it's installed correctly?
The setup wizard turns green step by step: DNS, script, destination, then the first event received from your site. After that, the Health tab warns you if tracking stops, for example after a theme change that removed the script.
Try Oriva for free.
14 days to connect your site and watch your sales reach your platforms.
Start free trial