Title: UTM Attribution for WooCommerce
Author: StandaloneTech
Published: <strong>May 4, 2026</strong>
Last modified: May 4, 2026

---

Search plugins

![](https://ps.w.org/utm-attribution-for-woocommerce/assets/banner-772x250.png?rev
=3522872)

![](https://ps.w.org/utm-attribution-for-woocommerce/assets/icon-256x256.png?rev
=3522872)

# UTM Attribution for WooCommerce

 By [StandaloneTech](https://profiles.wordpress.org/standalonetech/)

[Download](https://downloads.wordpress.org/plugin/utm-attribution-for-woocommerce.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/utm-attribution-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/utm-attribution-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/utm-attribution-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/utm-attribution-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/utm-attribution-for-woocommerce/)

## Description

**UTM Attribution for WooCommerce** helps you understand exactly which marketing
campaigns drive traffic and sales on your WooCommerce store.

It automatically captures standard UTM parameters (`utm_source`, `utm_medium`, `
utm_campaign`, `utm_term`, `utm_content`) the moment a visitor lands on your site.
When that visitor places an order, the plugin attributes the purchase to the original
UTM visit so you can see real revenue per campaign — without any third-party analytics
service.

#### Key Features

 * **Automatic UTM capture** — Records source, medium, campaign, term, and content
   on every tagged visit.
 * **WooCommerce order attribution** — Links orders to the visit that drove them
   using a secure, signed cookie.
 * **Revenue reporting** — See total visits, conversions, conversion rate, and revenue
   in one dashboard.
 * **Date range filter** — Filter by Today, Last 7 / 30 / 90 Days, This Year, or
   a custom date range.
 * **Performance chart** — Visualise visits and conversions over time with an interactive
   Chart.js graph.
 * **Top campaigns table** — Ranked list of campaigns by visits, conversions, and
   revenue generated.
 * **Visits & Conversions lists** — Paginated admin tables showing every captured
   visit and attributed order.
 * **Deduplication** — Optional `utm_site_id` parameter prevents the same click 
   being recorded twice.
 * **Privacy-friendly** — IP addresses are SHA-256 hashed before storage; IP hashing
   can be disabled via filter.
 * **Developer-friendly** — Extensible via WordPress filters (`utm_attribution_user_capability`,`
   utm_attribution_cookie_lifetime_days`, `utm_attribution_enable_ip_hashing`, etc.).

## Installation

 1. Upload the `utm-attribution-for-woocommerce` folder to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Make sure WooCommerce is installed and active.
 4. Visit **UTM Attribution** in your WordPress admin menu to view your reports.

## FAQ

### Does this plugin require WooCommerce?

Yes. Order attribution relies on WooCommerce order status hooks. The UTM capture
and visit recording will still work without WooCommerce, but conversion data will
not be collected.

### How does the plugin attribute an order to a visit?

When a visitor arrives via a UTM-tagged URL, the plugin stores the visit ID in a
signed, HttpOnly cookie (valid for 30 days by default). When an order reaches “processing”
or “completed” status, the plugin reads that cookie and links the order to the original
visit.

### Can I change how long the attribution cookie lasts?

Yes. Use the `utm_attribution_cookie_lifetime_days` filter:

    ```
    add_filter( 'utm_attribution_cookie_lifetime_days', function() { return 60; } );
    ```

### Are IP addresses stored?

IP addresses are hashed with SHA-256 (salted with your WordPress auth key) before
being stored. Raw IPs are never written to the database. You can disable IP hashing
entirely:

    ```
    add_filter( 'utm_attribution_enable_ip_hashing', '__return_false' );
    ```

### Can I change which order statuses trigger a conversion?

Yes, use the `utm_attribution_conversion_order_statuses` filter:

    ```
    add_filter( 'utm_attribution_conversion_order_statuses', function() { return array( 'completed' ); } );
    ```

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“UTM Attribution for WooCommerce” is open source software. The following people 
have contributed to this plugin.

Contributors

 *   [ StandaloneTech ](https://profiles.wordpress.org/standalonetech/)

[Translate “UTM Attribution for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/utm-attribution-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/utm-attribution-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/utm-attribution-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/utm-attribution-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/utm-attribution-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

– **Fix:-** Update chart.js to latest version.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.1**
 *  Last updated **5 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.4 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [attribution](https://wordpress.org/plugins/tags/attribution/)[campaign tracking](https://wordpress.org/plugins/tags/campaign-tracking/)
   [conversions](https://wordpress.org/plugins/tags/conversions/)[UTM](https://wordpress.org/plugins/tags/utm/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/utm-attribution-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/utm-attribution-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/utm-attribution-for-woocommerce/reviews/)

## Contributors

 *   [ StandaloneTech ](https://profiles.wordpress.org/standalonetech/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/utm-attribution-for-woocommerce/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://donate.stripe.com/fZeaFydax6NNfjWeVc)