Description
FirstTrack is a bridge plugin that connects your WooCommerce store to the FirstTrack server-side tracking service at first-track.org. A free account at first-track.org is required.
Once installed and configured with your Shop ID, the plugin:
- Loads a lightweight tracking script (wc.js) on your storefront that captures ad click identifiers (fbclid, ttclid, gclid, etc.) into first-party cookies.
- Injects hidden tracking fields into the WooCommerce checkout form so the click data follows the customer into the order.
- Saves the captured data into HPOS-safe order meta and (as a backup) into the order’s customer note. The FirstTrack backend then forwards purchase events to the configured ad platforms over their official server APIs.
Supported platforms (configured in your FirstTrack dashboard):
- Meta Conversions API
- TikTok Events API
- Google Enhanced Conversions
- Pinterest Conversions API
- Snapchat Conversions API
- X (Twitter) Conversions API
Features:
- 10-tier deterministic + probabilistic attribution with a confidence score per order
- First-party tracking domain support (custom subdomain)
- HPOS (WooCommerce High-Performance Order Storage) compatible
- Cookie-consent aware (respects
_ft_consentcookie andwindow.__ft_consent) - No bundled ad-platform SDKs in your storefront — all server-to-server
External services
This plugin relies on the FirstTrack service at first-track.org to deliver server-side ad conversion events. A free account at first-track.org is required for the plugin to function.
Service: FirstTrack (first-track.org)
What it is: a server-side ad conversion tracking service that forwards purchase events from your WooCommerce store to ad platforms (Meta, TikTok, Google, Pinterest, Snapchat, X / Twitter) using each platform’s official server-to-server Conversions API. The plugin is the bridge layer that runs on your store; the FirstTrack service runs at first-track.org and does the platform forwarding.
Script loaded on every storefront page:
On every front-end page, this plugin enqueues a JavaScript file from FirstTrack. The default URL is:
https://first-track.org/wc.js?shop=<your-shop-id>
If the site administrator has configured a custom tracking domain (via the WordPress option firsttrack_tracking_domain, typically a CNAME subdomain like track.yourstore.com that resolves to FirstTrack’s infrastructure), the script is loaded from that custom host instead:
https://<your-custom-tracking-domain>/wc.js?shop=<your-shop-id>
In both cases the destination server is FirstTrack’s infrastructure — the custom domain is a CNAME alias only. No data ever goes to a third party other than FirstTrack and (server-to-server, via the FirstTrack backend) the ad platforms that you have configured in your FirstTrack dashboard.
The script captures ad click identifiers into first-party cookies on the visitor’s browser and, on the WooCommerce checkout page, injects them as hidden form fields so the click data follows the order.
Data sent to first-track.org (or the configured custom tracking domain, which resolves to first-track.org):
- When a visitor lands on your storefront from an ad: the click identifier in the URL (e.g.
fbclid,ttclid,gclid,epik,sccid,twclid), the referring URL, the visitor’s user agent, and a randomly generated visitor UUID. These are stored as first-party cookies on the visitor’s browser and posted to the FirstTrack click endpoint at the configured tracking domain. - When a purchase is placed: the order’s tracking field values (
_ft_*meta) plus hashed customer email/phone and the order total, currency, line item IDs, billing city/state/country/postcode. Personally-identifying fields are SHA-256 hashed before transmission per the requirements of the ad platforms’ server APIs.
Why: FirstTrack uses the click and purchase data to send conversion events to the ad platforms you have configured in your FirstTrack dashboard (Meta Conversions API, TikTok Events API, Google Enhanced Conversions, Pinterest Conversions API, Snapchat Conversions API, X Conversions API). This is required to attribute purchases back to ad campaigns when browser-based pixels are blocked.
Terms and privacy:
- Terms of Service: https://first-track.org/terms
- Privacy Policy: https://first-track.org/privacy
- Data Processing Addendum: https://first-track.org/dpa
Screenshots

Unified dashboard — revenue, orders, attribution, and delivery health for every connected store in one view. 
Reports — weekly and monthly KPI reports with one-click PDF export and scheduled email delivery. 
Ten-tier attribution engine — orders matched through multiple signals, tier by tier, with a confidence score.
Installation
- Sign up for a free account at first-track.org and copy your Shop ID from the dashboard.
- Upload the
firsttrackfolder to/wp-content/plugins/(or install through the WordPress plugin directory). - Activate the plugin in Plugins.
- Go to FirstTrack in the admin menu and paste your Shop ID. Save.
- Open your storefront — tracking begins immediately. Place a test order to confirm events appear in your FirstTrack dashboard.
FAQ
-
Do I need a FirstTrack account?
-
Yes. The plugin is a bridge between your WooCommerce store and the FirstTrack service (first-track.org). The plugin alone does not send events to ad platforms; FirstTrack does that on the server side using credentials you configure in the FirstTrack dashboard.
-
What data does the plugin send to first-track.org?
-
See the External services section below for the full data list, transmission timing, and links to the terms of service, privacy policy, and DPA.
-
Is HPOS supported?
-
Yes. The plugin writes order meta through WooCommerce’s
WC_OrderAPI, which is HPOS-safe. -
Does it work with the WooCommerce Blocks checkout?
-
This release targets the classic shortcode checkout (
[woocommerce_checkout]). Block-based checkout compatibility is on the roadmap. -
How do I uninstall cleanly?
-
Deleting the plugin from Plugins runs
uninstall.php, which removes the two options the plugin stores (firsttrack_shop_id,firsttrack_tracking_domain). Order meta captured on past orders is preserved.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“FirstTrack — Server-Side Ad Tracking” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “FirstTrack — Server-Side Ad Tracking” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial public release.
- WooCommerce classic checkout tracking (Shop ID + custom tracking domain).
- HPOS-safe order meta via
WC_Order::update_meta_data(). - Customer-note
ft:{JSON}backup path for backend fallback. - Explicit verification of the WooCommerce checkout nonce.
- Uninstall handler removes plugin options.
- Localized — text domain
firsttrack.

