W4
Learn how to integrate W4 with AnyTrack for automated conversion tracking. Set up postback URLs to track affiliate conversions and send data to your ad platforms for campaign optimization.
How does the W4 AnyTrack integration work:
- Traffic: When visitors land on your website, AnyTrack collects traffic source data and First Party data.
- Engagements: When visitors click on your W4 affiliate links, AnyTrack does a few things:
- Collects granular data tied to the
OutboundClick. - Triggers Event Tracking API requests to your Tracking Tags and analytics.
- Collects granular data tied to the
- Conversions: When visitors convert on the merchant's website, AnyTrack receives real time conversion data through Postback URL.
- Attribution: AnyTrack processes the conversion data and reports it across various reporting sections of the AnyTrack Dashboard.
Conversion API: AnyTrack then sends your conversions to your Ad Platforms'Conversion APIso you can feed your ad platform's Machine Learning, AI and automatic optimization according to 100% of your conversion data.
Technical details
| Reference | Value | Information |
|---|---|---|
| Tracking Group | w4 | The Tracking Group reference can be used to activate AutoTag. |
| Subid Parameter | c3 | The Subid Parameter used to pass the AnyTrack click_id. |
| Tracking Method | Postback URL | - |
Standard Conversions
| Event Name | Details | Data Source |
|---|---|---|
OutboundClick | When a visitor clicks on W4 offer links. | AnyTrack JS Tag |
Lead | When a free registration is recorded in W4. | Postback URL |
Purchase | When a user generates a commission in W4. | Postback URL |
The W4 Postback URL
The Postback URL is fully pre-defined and ready to be implemented with your W4 account.
https://t1.anytrack.io/hBtoE3hN/collect/w4?c1=xxc1xx&c2=xxc2xx&c3=xxc3xx&cid=xxcidxx&progid=xxprogidxx&payout=xxpayoutxx&rand=xxrandxxSetup Guide
Step #1: Add W4 to your AnyTrack Account
-
Go to the Integration Catalog, search for W4.
-
Now click on the W4 cardand then Click on Install.
Step #2: Connect your W4 account
- Copy the predefined Postback URL
- Navigate to your [affiliate account](https://network.w4.com" https://network.w4.com).
- Open the Tracking Tag tracking option of the offer you want to track
- Paste the postback URL
- Save
Step #3: Adjust the Conversion Event Mapping
The Event Mapping allows you to define which events to track and map them to Conversion Events you will forward to your Ads Integrations (e.g., Facebook Conversion API)
Validate your integration
This section will enable you to validate the main aspects of your setup.
Install the AnyTrack Pixel Helper ExtensionInstall the AnyTrack Pixel Helper Chrome extension to verify the AnyTrack Tag is installed on your website. It also shows connected ad platforms and browser-side events. View the Pixel Helper guide.
Link tracking
Since Tracking starts when visitors clicks on offer links, you verify that your links are tracked and AutoTagged.
AutoTag Methods
Reminder about AutoTag:AutoTag is a function that is enabled by default through the AnyTrack Tracking Tag, and that appends
c3&click_iddata to affiliate links. Learn more about AutoTag.
- Default: By default, AnyTrack automatically identifies and AutoTags W4 links found on your website.
- AutoScan: AnyTrack scans links that are embedded in redirects plugins and AutoTags them accordingly.
- Manual:
- Tracking Group Attribute: You add the tracking group attribute to links according to their tracking requirements. For example:
data-tracking-group="hitpath"orrel="hitpath". More about Tracking Group. - Click ID Token: You Manually append the
subid:&c3=--CLICK-ID--to the offer link.
- Tracking Group Attribute: You add the tracking group attribute to links according to their tracking requirements. For example:
Once the links are set up, you can check in your W4 account reports and see whether the c3 parameters are passed to the offer links.
Here is an example of how you would manually update links fromhitpath:
<a href="https://example.foo/goto/w4" data-tracking-group="hitpath">Hover on theW4 Demo
Link to see the AnyTrack `click_id`</a>
TrackingTracking Group refers to the integration technology. For example, W4 Tracking Group tracking group is
hitpathand ClickBank isClickBank. The Tracking Group
Conversion Tracking
To validate your setup, you wait for a conversion or trigger a test conversion yourself and inspect the conversion logs.
W4 conversion payload example
{
"AnyTrack": "1100l35864",
"customer_type": "existing",
"country": "US",
"referer": "https://www.chewy.com/",
"search_keyword": null,
"search_engine_id": null,
"conversion_time": "1684692689",
"`conversion_id`": "1011l2002827904",
"publisher_reference":"mz7yYainzaN6hkc52QVBg",
"publisher_commission": "10.57",
"creative_id": "0",
"source_referer": null,
"advertiser_reference": null,
"conversion_type": "1",
"creative_type": "0",
"conversion_reference": "1354998698",
"metadata_query_string": null,
"currency": "USD",
"tracking_method": "clickref",
"value": "52.85",
"items": [
{
"item_code": null,
"item_id": "1011l860699483",
"item_sku": "332503",
"item_commission": "3.5720",
"item_type": "S",
"item_gp": null,
"item_publisher_commission": "3.5720",
"item_meta": null,
"item_status": "1",
"item_value": "17.8600",
"item_category": "11130",
"item_vertical": null
},
{
"item_code": null,
"item_id": "1011l860699484",
"item_sku": null,
"item_commission": "0.0000",
"item_type": "S",
"item_gp": null,
"item_publisher_commission": "0.0000",
"item_meta": null,
"item_status": "1",
"item_value": "0.0000",
"item_category": "COMMISSION",
"item_vertical": null
},
{
"item_code": null,
"item_id": "1101l859617416",
"item_sku": "677350",
"item_commission": "6.9980",
"item_type": "S",
"item_gp": null,
"item_publisher_commission": "6.9980",
"item_meta": null,
"item_status": "1",
"item_value": "34.9900",
"item_category": "2802",
"item_vertical": null
}
],
"campaign_id": "1100l517",
"query_string": null,
"user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Mobile/15E148 Safari/604.1"
}
FAQ and Troubleshooting
FAQ was last reviewed on 2026-04-09
click_id passed to the W4 links is required to track conversions.Updated 7 days ago
