M4trix
Learn how to integrate AnyTrack.io with M4trix, an affiliate network that enables digital marketers to optimize ROAS with conversion tracking and attribution.
M4trix Integration Overview
The AnyTrack and M4trix integration enables users to seamlessly track conversions from any source across multiple platforms. With this powerful combination, you can measure your return on investment (ROI) with ease - sending conversion data from M4trix directly to AnyTrack which then forwards the data to Google Ads, Facebook Conversion API and TikTok API for further analysis. This gives marketers a comprehensive view of their performance at all times so they can make informed decisions quickly in an ever-evolving landscape.
This article was first published on 2023-04-19and was last updated on 2023-05-31. If you you notice something that is outdated, please suggest an edit.
How does the M4trix 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 M4trix affiliate links, AnyTrack does a few things:
- Collects granular data tied to the
OutboundClick
. - Triggers Event Tracking API requests to your pixels 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 API so 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 | m4trix | The Tracking Group reference can be used to activate AutoTag. |
Subid Parameter | cid | 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 M4trix offer links. | AnyTrack JS Tag |
Lead | When a free registration is recorded in M4trix. | Postback URL |
Purchase | When a user generates a commission in M4trix. | Postback URL |
The M4trix Postback URL
The Postback URL is fully pre-defined and ready to be implemented with your M4trix account.
https://t1.anytrack.io/hBtoE3hN/collect/m4trix?affid={affid}&sid={sid}&cid={cid}&payout={payout}&orderid={orderid}
Before you begin
The M4trix integration requires that the AnyTrack Tracking Tag in the
head
section of your website or landing pages. Learn now to Install the AnyTrack Tag on your website.
Setup Guide
Step #1: Add M4trix to your AnyTrack Account
- Go to the Integration Catalog, search for M4trix.
- Now click on the M4trix cardand then Click on Install.
Step #2: Connect your M4trix account
- Copy the predefined Postback URL
- Follow this link to access to your affiliate account
- Navigate to "Account" >> "manage Account" >> "Tracking"
- Scroll down to the “postback” section
- Paste the postback URL
- Click on 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 (ex: Facebook Conversion API)
Validate your integration
This section will enable you to validate the main aspects of your setup.
Install the AnyTrack Pixel Helper Extension
Install the AnyTrack Pixel Helper Chrome extension to verify the AnyTrack Tag is installed on your website. It also shows connected ad networks and browser-side events. Learn more.
Link tracking
Since Tracking starts when visitors clicks on offer links, you should 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
cid
&click_id
data to affiliate links. Learn more about AutoTag.
- Default: By default, AnyTrack automatically identifies and AutoTags M4trix 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="m4trix"
orrel="m4trix"
. More about Tracking Group. - Click ID Token: You Manually append the
subid
:&cid=--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 M4trix account reports and see whether the cid
parameters are passed to the offer links.
Here is an example of how you would manually update links from m4trix
:
<a href="https://example.foo/goto/m4trix" data-tracking-group="m4trix">Hover on theM4trix Demo
Link to see the AnyTrack `click_id`</a>
Tracking Group
Tracking Group refers to the integration technology. For example, M4trix Tracking Group tracking group is
m4trix
and ClickBank isclickbank
. The Tracking Group
Conversion Tracking
To validate your setup, you should either wait for a conversion or trigger a test conversion yourself and inspect the conversion logs.
M4trix 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 & Troubleshooting
-
No. Anytrack can only ingest conversions that have been triggered following a visitor session on your website.Can I import past conversions into Anytrack? -
Yes, but this requires a custom setup. Please refer to this article.Can I track direct linking campaigns? -
No.Can I use a differentsubid
parameter than the one predefined by AnyTrack? -
No. TheCan I track conversions without theclick_id
?click_id
passed to the M4trix links is required to track conversions. -
You can update the Event Mapping in the Integration page.The Conversion Event Name is not what I am expecting, how can I change it?
Take these steps to troubleshoot errors you encounter in AnyTrack
-
General troubleshooting
- Verify that your tracking tag is set in the
head
section of your website. - If you're on the free plan, verify that you didn't reach the monthly traffic limit and upgrade if needed.
- Verify that your tracking tag is set in the
-
When you are not tracking conversions, or most conversions trigger an error follow the guidelines below.Conversion sources
Before you reach out to the tech support, please inspect the conversion log to see what type of errors you are getting and try to fix the integration by following these troubleshooting guidelines.
-
Native integrations refer to platforms that are predefined in the catalog and should provide an error-free data flow.Native integrations
The most common error is that theclick_id
is unknown or missing. It happens when AutoTag could not be activated.- Check that your links are not hidden behind some javascripts or double redirects.
- Check that the links are in a standard
a
element. - Try to manually set the tracking group attribute (check the integration guidelines).
- Check whether your offers are not getting traffic from websites where the AnyTrack Tag isn't set.
- If you just installed AnyTrack, errors might be from traffic that wasn't tracked by AnyTrack.
-
Conversion data doesn't trigger an error 🔴, but is not validated 🟢:
- Check that the Postback URL you've set in the integration matches the pre-defined Postback URL we provide.
- Copy the Event Reference from the Conversion Event Log and contact the support.
-
You're not getting any conversions:
- Check that the Postback URL is set and active in your platform.
- Check that you're passing the correct AutoTag
cid
parameter to the offer link. - Check that the Postback URL is correctly inserted in the custom integration.
Updated about 2 months ago