Connect one purchase event
For a new campaign with one conversion, use Simple in 2. Events. For an existing Advanced setup, keep that mode. Configure the intended event with Count as conversion and From incoming event revenue. The steps below use Event 1:- Copy the campaign’s Incoming event URL for Event 1.
- Replace its click ID placeholder with the sender’s macro for the stored Metricanic click ID.
- Replace the payout placeholder with an amount or the sender’s payout macro.
- Add
txuidwith the sender’s order ID. - Set the trigger to the action you want to measure, such as a completed payment.
- Save the postback in the sending system and test one purchase.
Preserve the correct identifier
Pass{click_id} in the offer URL. Store that full value with the lead or order, then return it in the incoming event.
Use the parameter and return macro specified by your affiliate network. See Affiliate networks for setup.
Check the result
Open Events and find the test event. Then check the campaign report for the original visit date. See Dates and filters if the event and report dates differ. The incoming event URL returns a small image and can look like a blank page. Use reports to check whether the event was recorded. If the event is missing, follow Find why a conversion is missing.Choose the fields you need
Use a decimal point for amounts.
value appears in Value N and does not set revenue. Configure conversion counting and revenue and cost in the event settings.
Make retries repeat the same event
Includetxuid when the sender can retry. Use an order or action ID of no more than 64 characters.
Keep the same click ID, idx, and txuid for another attempt to send the same event. Use a new txuid for a new purchase. You can reuse the order ID with a different idx for another stage, such as approval.
Send an event with POST
Send an event with POST
You can send event fields as JSON or form data. For example:Put all event fields in the body for this setup.
logEvent().