Description
VouchLink for WooCommerce connects a merchant’s WooCommerce store to their VouchLink advertiser account.
After connection, the plugin captures VouchLink referral identifiers from visitor URLs, stores attribution on WooCommerce orders, and sends configured order events to VouchLink. VouchLink event settings decide which WooCommerce events are tracked and which events trigger conversion rewards.
This plugin requires a VouchLink advertiser account, advertiser email, and API key.
Features
- Connect a WooCommerce store using VouchLink advertiser email and API key.
- Automatically sends the WordPress store URL to VouchLink during connection.
- Captures
ref_id,refId,referral_id,link_id,Link_id,tracking_code, andcode. - Stores attribution in browser cookies, WooCommerce sessions, and order metadata.
- Sends WooCommerce event monitoring records to VouchLink.
- Sends conversion postbacks when VouchLink marks an event as rewarded.
- Sends refund/cancellation postbacks for enabled reversal events.
- Declares compatibility with WooCommerce High-Performance Order Storage.
Supported WooCommerce Events
- Order Paid:
woocommerce_payment_complete - Order Completed:
woocommerce_order_status_completed - Cancelled/Refunded:
woocommerce_order_status_cancelled,woocommerce_order_status_refunded,woocommerce_order_fully_refunded - Chargeback/Failed:
woocommerce_order_status_failed
External Service
This plugin relies on VouchLink, an external service operated by VouchLinks, to connect a WooCommerce store to a merchant’s VouchLink advertiser account, load VouchLink event settings, record WooCommerce order events, and send conversion or refund postbacks for attribution and reward processing.
Service endpoints:
Production API endpoint:
https://api.vouchlinks.com/api/v1
Development API endpoint:
https://dev.api.vouchlinks.com/api/v1
Service website:
https://vouchlinks.com
Advertiser account portal linked from the settings screen:
https://app.vouchlinks.com
Data sent to VouchLink:
- When a merchant connects the store, the plugin sends the merchant’s VouchLink advertiser email, VouchLink API key, WordPress store URL, and plugin version.
- When event settings are synced or loaded, the plugin sends the saved VouchLink advertiser email and API key in request headers.
- When a shopper visits with VouchLink attribution parameters, the plugin stores the attribution identifiers locally in browser cookies, the WooCommerce session, and order metadata. These identifiers are sent to VouchLink only when a tracked WooCommerce order event is processed.
- When an enabled WooCommerce order event is processed, the plugin sends the event type, order ID, order amount, currency, store URL, VouchLink attribution identifiers, billing email, and line item details such as product name, product category, price, and quantity.
- When an enabled cancellation, refund, or failed order event is processed, the plugin also sends the order ID, VouchLink link ID, reversal reason, and related order payload so VouchLink can reverse or record the conversion status.
Data is sent only after the merchant has connected the plugin with VouchLink credentials. Production is used by default. The development endpoint is used only when the site owner explicitly configures the plugin for development testing with VOUCHLINK_WC_API_ENV or VOUCHLINK_WC_API_BASE_URL.
Terms of Service:
https://www.vouchlinks.com/terms
Privacy Policy:
https://www.vouchlinks.com/privacy
Installation
- Upload the
vouchlink-woocommercefolder to/wp-content/plugins/, or upload the plugin zip throughPlugins > Add New > Upload Plugin. - Activate the plugin in WordPress.
- Go to
WooCommerce > VouchLink. - Enter the advertiser’s VouchLink email and API key.
- Click
Connect Store. - Click
Sync Event Settings.
Production is used by default. For development testing, define this constant in wp-config.php:
define('VOUCHLINK_WC_API_ENV', 'dev');
FAQ
-
Does this plugin show anything to shoppers?
-
No. The plugin works in the background. It captures attribution from URLs and sends order events to VouchLink.
-
Does this plugin require a VouchLink account?
-
Yes. The merchant needs a VouchLink advertiser account, email, and API key.
-
Can I test against the dev backend?
-
Yes. Add
define('VOUCHLINK_WC_API_ENV', 'dev');towp-config.php. -
What personal data does this plugin process?
-
When connected, the plugin stores VouchLink referral identifiers from visitor URLs in browser cookies, WooCommerce session data, and WooCommerce order metadata. For tracked WooCommerce order events, it sends order event data to VouchLink, including order ID, order amount, currency, store URL, VouchLink attribution identifiers, billing email, and line item details such as product name, product category, price, and quantity.
-
Is this plugin compatible with WooCommerce HPOS?
-
Yes. The plugin uses WooCommerce order APIs and declares compatibility with custom order tables.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“VouchLink for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “VouchLink for WooCommerce” 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 release.
- Store connection with VouchLink email and API key.
- Referral attribution capture.
- VouchLink event settings sync.
- Conversion and refund postbacks.