=== Tracknow for WooCommerce ===
Contributors: @tracknow
Tags: Tracknow, affiliate marketing, affiliate software
Requires at least: 4.4
Tested up to: 6.7
Stable tag: 10.0.37
Version: 10.0.37
Requires PHP: 5.6
MySQL: 5.6 or greater
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Integrating the Tracknow software into your WordPress website.

== Description ==

= WordPress Affiliate Tracking Plugin =

This plugin integrates Tracknow affiliate tracking with WooCommerce. To properly track conversions and assign commissions to affiliates, the plugin sends purchase-related information to Tracknow’s tracking servers.

Tracknow is a cutting-edge affiliate tracking software designed for eCommerce, services, networks, IB, and iGaming. It offers features such as automated affiliate payouts, multi-level marketing (MLM), lifetime commissions, API integration, fraud prevention, offline tracking, and more!

To explore all the features, please visit:
[Tracknow Prices](https://www.tracknow.io/prices.html)

= Features =
* Automatic integration with the WooCommerce plugin
* Lifetime payments
* Multiple Coupon Tracking
* Multi Level Marketing (MLM)
* Designed & Branded

Learn more:

<iframe width="560" height="315" src="https://www.youtube.com/embed/b3ni2mfsvvY?si=PVG6NfflWHTQyUEN" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

= Screenshots =
![Tracknow Settings Page](assets/screenshot-1.png)
Caption: Settings page in WordPress admin under WooCommerce Settings.

= Data Sent to External Service =
This plugin sends purchase tracking data, including order details and affiliate identifiers, to Tracknow’s secure tracking servers (*.tracknow.info). This is required to properly track affiliate sales, assign commissions, and provide accurate reporting within the Tracknow platform.

No sensitive payment information is sent. The data collected follows Tracknow’s privacy policies, which can be reviewed at:
[Tracknow Privacy Policy](https://www.tracknow.io/privacy.html)

= Service Requirement =
To use this plugin, a Tracknow account is required. You can sign up for FREE at:
[Tracknow Register Page](https://dashboard.tracknow.io/register)

= Installation =

1. Install easily with the WordPress plugin control panel or manually download the plugin and upload the folder `tracknow-for-woocommerce` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Fill required fields and enable plugin functionality in the settings (Admin > WooCommerce > Settings > Tracknow)

= Frequently Asked Questions =

== How do I set up Tracknow for WooCommerce? ==

Follow the installation instructions provided in the readme. Once activated, navigate to WooCommerce settings in your WordPress admin and configure Tracknow by entering your Tracknow credentials.

== What data does the plugin send to Tracknow? ==

The plugin sends purchase tracking data such as order details and affiliate IDs to Tracknow’s secure servers. No sensitive payment information is transmitted.

== Where can I get my Namespace? ==

The **Namespace** is the same as the workspace you inserted under Tracknow registration and is the prefix of your personal affiliate platform **namespace**.tracknow.io.  

== Where do I get the Campaign ID? == 

You can find the **Campaign ID** on the Tracknow platform in two main places:  

1. In the URL of the campaign page:  
   `https://dashboard.tracknow.io/app/management/campaign/1/campaign-details`  
   (where `1` is the campaign ID in this example).  

2. In the campaigns table under the **ID column**:  
   `https://dashboard.tracknow.io/app/management/campaigns`.  

In most cases, `1` is the campaign ID when working with the initial campaign created.  

== Where can I get support for Tracknow for WooCommerce? ==

For support inquiries, please contact us [here](https://www.tracknow.io/contact.html).

== Changelog ==

= 10.0.32 =
* New: Support for multiple Tracknow integration instances, enabling advanced setups with several accounts or configurations.


= 10.0.29 =
* New: Added settings to map custom order statuses to WooCommerce core statuses for improved lifetime order tracking.

= 10.0.22 =
* Stability improvements and minor internal refactors to enhance reliability under edge conditions.

= 10.0.21 =
* **Plugin Logs**: Added an admin log viewer to debug plugin workflows directly within the WordPress admin.

= 10.0.18 =
* **Multiple Coupon Support**: Enhanced coupon tracking to support multiple coupons per order. Tracking URLs now include all applied coupons as separate parameters.
* **Improved Coupon Filtering**: Pixel firing logic now checks all coupons against the coupon filter, enabling precise affiliate commission tracking for multiple coupon scenarios.
* **Better Coupon Detection**: Enhanced coupon code retrieval from WooCommerce API, coupon line items, and custom meta fields with automatic deduplication.

= 10.0.17 =
* Enhanced click tracking system with improved parameter handling and legacy support (Direct Link).
* Added automatic click ID generation for better tracking reliability.
* Improved validation system for tracking parameters.
* Performance optimizations and code refactoring for better maintainability.

= 10.0.15 =
* Stability improvements and minor internal refactors to enhance reliability under edge conditions.
* **API Key Validation**: Added functionality to validate API key before processing conversions, ensuring that only valid keys trigger updates.
* **Status Monitor**: Introduced a status monitor to track conversion status updates and automatically update conversions to `APPROVED` or `DENIED` based on order status changes.

= 10.0.14 =
* Stability improvements and minor internal refactors to enhance reliability under edge conditions.

= 10.0.13 =
* Added support for detecting coupon codes stored in custom order meta fields.
* New setting: "Custom Coupon Meta Key" – allows mapping a meta key used by third-party coupon logic.

= 10.0.12 =
* Improved first purchase recognition by ignoring unsuccessful orders

= 10.0.11 =
* Added option to disable lifetime tracking for enhanced user privacy.

= 1.0.8 =
* Stability improvements and minor internal refactors to enhance reliability under edge conditions.

= 1.0.7 =
* Improved overall plugin stability and bug fixes.
* Enhanced backend country verification for better location accuracy.

= 1.0.6 =
* Added option to include client personal information in the tracking URL.
 
= 1.0.5 =
* Added new tracking pixel options in settings

= 1.0.3 =
* Added country support

= 1.0.2 =
* Improved stability and performance

= 1.0.1 =
* Added lifetime support for non-registered customers.
* Change tracking pixel position.

= 1.0.0 =
* Initial public release to the WordPress Tracknow plugin repository
