WooCommerce: your orders sent server-side
On WooCommerce, the Oriva plugin connects to your account in two clicks, sets up tracking on your site, respects your visitors' consent and sends each paid order from your server, with its amount, currency and reference, without depending on the thank-you page. Oriva then sends each sale to Meta, TikTok, Google Ads and OpenAI. The plugin is free; Oriva is paid for after the 14-day trial.
How do I install the Oriva plugin?
- Install the plugin from your WordPress admin (Plugins, Add New), searching for “Oriva for WooCommerce”, or from WordPress.org.
- Open WooCommerce, Oriva and click “Connect to Oriva”.
- Sign in to Oriva and choose the domain: you come back to your site, and that is it.
You also need the t.your-domain DNS record, which the setup assistant shows you.
What does the plugin send, and when?
Nothing until you connect your site. Then: your visitors' page views go from their browser to your tracking address, and each paid order goes from your server to Oriva with its amount and currency. Only for visitors who accepted advertising: a hashed email and phone number, the buyer's IP address and browser, and a visitor identifier.
Can a purchase be counted twice?
No: Oriva takes the event identifier from the WooCommerce order number, so going back to the confirmation page never counts the same sale twice. If your Meta or TikTok pixel receives the same number as its event identifier, the platform deduplicates on its side too. A declined payment is never sent.
What about consent?
Without a compatible cookie banner no sale is sent to the advertising platforms: it stays counted in your Oriva account, and nothing that identifies the person is sent. Connect your banner (the plugin understands those that follow WordPress's consent API) or follow the guide to link it by hand. The code for Complianz and CookieYes, the two most common plugins on WordPress, is on the Any website page.
Do affiliate postbacks work?
Yes with the plugin: a sale is sent from the server, so an affiliate network can receive its postback, which the snippet pasted into the thank-you page cannot do. If you pay affiliates, that is the route to take, or the server API for a shop without the plugin.
What if I can't install a plugin?
Two pastes remain. The Oriva script in the header, with a plugin like WPCode (“Insert Headers and Footers”); avoid pasting it into header.php, a theme update would erase it. Then the PHP code Oriva gives you, in your child theme's functions.php or in a snippets plugin: it relies on woocommerce_thankyou, the hook WooCommerce fires on the confirmation page. It sends the purchase from the browser only, so it doesn't trigger affiliate postbacks.
Keep reading
- Double counting pixel + server API: how to deduplicate: Meta, TikTok, Google Ads and ChatGPT Ads only deduplicate if the pixel and the server carry the same identifier. Each one's field, and the traps.
- Meta-enabled Conversions API: is it enough?: Meta turns on its one-click Conversions API by default. What it sends, what it cannot see, and when a server-side send changes things.
Try Oriva for free.
14 days to connect your site and watch your sales reach your platforms.
Start free trial