
Tikra for WooCommerce
v0.10.3tikratracking · 2026年11月24日 上架
Server-side conversion tracking for WooCommerce. Sends paid orders, refunds and cancellations to your Tikra account, with consent checks.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 33
- 最近更新
- 2026年11月25日
贡献者
截图
Tikra for WooCommerce is the WordPress side of Tikra, a service that sends your store’s purchases from your server to the advertising platforms you connect (Meta, Google Analytics 4, Google Ads and others), after it checks the buyer’s consent. Ad blockers and browser limits cannot block a purchase that leaves your server. More at https://tikratracking.com
You need a Tikra account. The plugin is the connector: it needs the shop domain and the secret of your store in Tikra, which it gets when you select Connect to Tikra, or which Tikra gives you when our team sets your store up. Without a Tikra account the plugin does nothing. It does not unlock or lock any feature of its own; the matching, consent decisions and delivery to the ad platforms run in the Tikra service.
What the plugin does:
- Records the buyer’s cookie consent choice and any advertising click ids on the order at checkout (classic checkout and the Cart and Checkout blocks).
- Sends each paid order to Tikra shortly after payment, signed with your store’s own secret (HMAC-SHA256). A failed delivery is retried for about nine hours.
- Sends refunds made in WordPress and a short note when a paid order is cancelled or fails, so ad platforms get the correction.
- Keeps click ids from the landing page in first-party cookies for 90 days and passes them on from the thank-you page: with a supported consent tool, only after the visitor agrees in it; without one, in Standard mode, only for visitors outside the EEA, the UK and Switzerland (the plugin checks the country first).
- Works with the WP Consent API, Complianz, CookieYes and Cookiebot.
- Never tracks shop staff: logged-in shop managers get no script and no cookies from the plugin.
- Declares compatibility with High-Performance Order Storage (HPOS) and the Cart and Checkout blocks.
- Hooks into WordPress’s personal data export and erasure tools: the data the plugin stores is exported with the order, and an erasure is passed on to Tikra.
Nothing leaves your site until you tick the agreement box under WooCommerce > Tikra, next to Connect to Tikra or in the settings. On an install set up in wp-config.php, defining all three of TIKRA_ENDPOINT, TIKRA_SHOP and TIKRA_SECRET counts as that agreement.
External services
This plugin connects your store to the Tikra service. Tikra is operated by EURUVIZIJA, MB, Vilnius, Lithuania. The plugin sends data only after the merchant has ticked the agreement box, either on the Connect to Tikra form (item 0 below) or on the settings screen, or after an operator has defined all three of TIKRA_ENDPOINT, TIKRA_SHOP and TIKRA_SECRET in wp-config.php, which counts as that agreement. Until then it makes no request and loads no script. Orders are sent only once the store has its shop domain and secret.
Service address: https://app.tikratracking.com (the merchant can change it on the settings screen).
Terms of use: https://tikratracking.com/legal/terms
Privacy policy: https://tikratracking.com/legal/privacy
Data Processing Agreement: https://tikratracking.com/legal/dpa
What is sent, and when:
-
When you tick the agreement box next to Connect to Tikra under WooCommerce > Tikra and select the button: your browser opens Tikra’s connect page (https://app.tikratracking.com/woo/connect, or the address set on the settings screen) with your site’s host name, the address of the plugin’s settings page, a random anti-forgery value and a one-way hash of a second random value. On that page you enter an e-mail address and accept Tikra’s Terms of Service and Data Processing Agreement. Tikra e-mails that address a confirmation link. After you confirm, your browser comes back to the settings page with a one-time code and the anti-forgery value. The plugin’s server then sends the code, the second random value and your site’s host name to the /woo/connect/exchange path. Tikra answers with its service address, your shop domain and your store’s secret, and the plugin saves them and marks the agreement box as ticked. No order or customer data is sent in this step.
-
After an order is paid (a minute or two after payment): the order, to the /woo/order path. It contains the buyer’s name, e-mail, phone, billing and shipping addresses, customer account number, IP address and browser (user agent), the items, amounts, taxes, shipping and payment method, whether WooCommerce Subscriptions marks the order as a renewal (yes or no; never the subscription itself), the consent choice and the advertising click ids recorded at checkout (cookie values such as the Meta browser id, Google click id and the Google Analytics client id, only by the rule in item 6: with a supported consent tool, only after the visitor’s own yes in that tool; on a store without a supported consent tool, in Standard mode, only for buyers outside the EEA, the UK and Switzerland; a buyer who refused, or who has not answered the consent tool, gets nothing read). The order also carries the order key, the payment transaction id, how the order was created (for example at checkout), whether WooPayments took the payment in test mode, the company name in the addresses, the plugin version, the site time zone and whether test mode is on. Tikra hashes the e-mail address, phone number, names and address details when it receives them and stores the IP address only encrypted (DPA Annex 1). Only if Tikra has switched it on for the store, the order also carries what WooCommerce’s own order attribution recorded for it: the source type, utm_source, utm_medium and utm_campaign (up to 100 characters each; a value that holds an e-mail address, a link or a query string is not sent and is counted as other) and, for Meta, Google and TikTok, whether the landing page carried an ad click parameter (the parameter name only: no value, page address, referrer or user agent). Tikra adds these to daily counts for the diagnosis, keeps no copy with the order and sends them to no platform.
- When a refund is made in WordPress: order number, refund number and time, amounts, tax, shipping and the refunded items (name, SKU, quantity, amounts). No reason text and no customer data. Path /woo/refund.
- When a paid order is cancelled or moves to Failed: the order number, the status and the time. Path /woo/cancel.
- Only if the site report is switched on in the Tikra dashboard or TIKRA_SITE_REPORT is true in wp-config.php (an operator install that defines all three constants also sends it until the plugin first reads its settings from Tikra; TIKRA_SITE_REPORT set to false always turns it off): once a day, and once shortly after it is first switched on, a site report with the folder names of the active plugins, the site time zone and the WordPress, WooCommerce, PHP and plugin versions. No customer data. Path /woo/site.
- When WordPress’s personal data erasure tool runs for a customer: only the order numbers, so Tikra erases what it holds for them. Path /woo/redact. This one is also sent while sending is switched off, as long as the shop domain and secret are still saved, because it only asks Tikra to delete data. A store that was never set up sends nothing.
- From each visitor’s browser: on the order confirmation page, the click ids, the consent choice, the order key and the page address without its query string (path /woo/px), only when there is a consent choice or an id the plugin may send. On a store without a supported consent tool, in Standard mode, the browser first makes one GET request to /woo/region, on a page with a click id and on the order confirmation page, unless the browser’s clock is set to a European time zone: it carries no cookie, no body and no page address, and Tikra answers only whether the request comes from the EEA, the UK or Switzerland, using the country Cloudflare derives from the IP address. Tikra does not store the IP address or the answer (the IP address is used for one minute to limit the number of requests). The plugin loads one JavaScript file, and it comes from the plugin itself, not from a CDN. The plugin sets first-party cookies on the store’s domain: the advertising click id from the landing page (90 days), including OpenAI’s click id (_tikra_oppref) where Tikra offers ChatGPT Ads, and a copy of the consent tool’s choice (180 days). With the visitor’s own yes for the matching category it reads the platforms’ own browser cookies that go with the order: _fbp, _fbc, _gcl_aw, _epik, _ga and _ga_, and, once Tikra switches them on for the store, the TikTok pixel’s _ttp, the Snap pixel’s _scid and the OpenAI Pixel’s __obref. Each identifier goes only to its own platform. It sets the click-id cookies only after the visitor’s own yes for marketing in the consent tool, in both modes; a yes the tool gives before the visitor chooses does not count. In Standard mode, on a store without a supported consent tool, it also sets them for visitors outside the EEA, the UK and Switzerland (the plugin checks the country first; a failed check counts as inside). It never sets them after the consent tool reports a refusal.
- Only if TIKRA_FUNNEL is set to true in wp-config.php (off by default): from the visitor’s browser, only when the visitor allows marketing, the page views, product views, cart changes and checkout steps (path /ev): the page address without its query string, product ids, quantities and amounts, a random checkout id kept in the browser session and the Meta browser ids from the cookies. No e-mail, phone or search term is sent. Tikra does not use store events from WooCommerce stores.
- To read your store’s settings: once an hour, when you open WordPress admin and after you connect, the plugin’s server asks Tikra for the settings you chose in the Tikra dashboard (path /woo/settings, signed with your store’s secret). The request also carries the site’s time zone setting (for example Europe/Vilnius), so Tikra shows dates in your time zone before the first order. Tikra keeps it only when it is a named time zone, not an offset such as +02:00, and only once your store has accepted Tikra’s terms. Tikra answers with the consent mode, the Google Analytics 4 stream, whether store events, the site report and the error log are on, whether test mode is on, and whether Tikra needs a new read-only REST key (item 12). The plugin keeps the answer in a WordPress option. Until it has an answer, it works in Strict.
- When you open the Tikra page under WooCommerce > Tikra: the plugin’s server asks Tikra for a summary of your store (path /woo/summary, signed with your store’s secret). Tikra answers with counts and states only: the number of orders sent in the last 7 days, in total and per platform, the type and state of each connected platform, and when the last order was sent and to which platform. No customer data. The plugin keeps the answer in WordPress for 60 seconds. The Open Tikra button opens Tikra’s dashboard in a new tab. To sign you in, the plugin’s server makes a sign-in token that is valid for at most 1 minute and only once, signed with your store’s secret, and your browser passes it to Tikra in the address of the new tab, together with your WordPress user ID. You are signed in with admin rights to your store’s dashboard, without billing, team or delete rights. The dashboard shows only data Tikra already holds for your store. It works once the store is connected.
- When WordPress’s personal data export tool runs for a customer: only the order numbers, so Tikra returns what it holds for them and the plugin adds it to WordPress’s export file. Path /woo/export. Tikra keeps no copy of the answer, only a record that the request was made, with counts. This one is also sent while sending is switched off, as long as the shop domain and secret are still saved.
- When the plugin is deleted in WordPress (not when it is only deactivated): one request, signed with the store’s secret, with no customer data, so Tikra can e-mail the store owner. Path /woo/uninstall. It does not end your Tikra plan or delete your data at Tikra. It is sent once for each connected site, before the plugin deletes that site’s settings.
- If Tikra asks for it in its settings answer (item 8), for its hourly check that no paid order was missed: the plugin makes a read-only WooCommerce REST API key named “Tikra (read-only)”, owned by the WordPress admin who connects, and sends it once to the /woo/rest-key path, signed with your store’s secret. The plugin keeps only the key’s id, never the key. A read-only key can read what the WooCommerce REST API offers, such as orders, products and customers, and cannot change anything. Tikra uses it to read paid orders. When you untick the agreement box, remove the secret, connect to another store or deactivate the plugin, the plugin tells Tikra to drop its copy and deletes the key. Deleting the plugin also deletes it.
Every request except the browser requests is signed with the store’s secret. The connect exchange in item 0 is the exception: there is no secret yet, so it is protected by the one-time code and the second random value. The plugin never logs customer data.
The plugin adds one public REST route, /wp-json/tikra/v1/connect-proof. Tikra calls it only while you connect the plugin to Tikra, for at most two minutes, to confirm that the connection was started on this site. It answers with a one-time code derived from that connection request and nothing else: no store, order or customer data. At any other time it answers 404.


