Skip to main content
Perform an S2S integration test with affiliates
Natalya Yefimenko avatar
Written by Natalya Yefimenko
Updated over 7 months ago

The integration test helps you understand whether you set up all the links and the whole offer correctly, and whether all redirects work well.

Once you set up an offer, Affise recommends you to perform integration tests.

Before you begin

Test S2S integration

Perform a test to make sure you get a click when a user commits it. Also, you need to check whether your affiliate can get conversion info.

Tracking link test

There are two ways to test tracking links and how a conversion is generated: manual and automatic.

Manual test

  1. On the offer preview page, generate the Affise tracking link and update it with the additional parameters if needed.

  2. Optional. To omit targeting restrictions set in your offer, generate a test link with a special parameter &sub1=testofferlink.

  3. Share the generated tracking link with your affiliate for them to perform a test.

  4. To continue the test on your side, get the link for a test from your affiliate.

  5. Make sure your affiliate link leads to the Affise tracking URL, and Affise tracking URL leads to advertiser tracking URL. Go to Affise Checker or a similar service, where you can check redirects.

  6. Add the &format=json parameter to the Affise tracking link, and fire it in your browser to see the click ID value.

    __demo.g2afse.com_click_pid=2&offer_id=1440238&sub1=testofferlink&for.. 2022-08-22 at 11.02.13 PM

  7. Add the click ID value and the additional parameters to the Affise postback URL, and fire it.

  8. In Statistics > Server postbacks, check whether the conversion came to Affise and the status it has. A dash means a successful postback, and "validation error" means an error.

Automatic test

To perform an automatic test, you need to use the testing tool.

It is located here: Affiliates > Testing links.

⚠️ To use the Testing tool, you need a Read permission for clicks list in Users > User management > a certain user > Statistics.

The testing tool emulates a click and conversion, you don't need to commit them manually. There's a limitation that you can't use any additional parameters in the Affise postback. Also, the system takes a postback with a default goal only.

🔎 To test postbacks with the additional parameters and different goal values, use the manual test.

  1. In Testing Links, insert your affiliate link that leads to the Affise tracking URL.

  2. Click Check it!.

  3. Check the test result. The successful test result is the following:

Testing Links _ Rocket Company Network (Demo) - Google Chrome 2023-01-11 at 5.40.27 PM

If a test is not successful, the tool shows you one of the messages:

  • Click not created: there are some targeting restrictions in the offer. This error can also mean that the tested link doesn't contain parameters for affiliate ID or/and offer ID.

  • Not found tracking URL: the testing tool cannot find Affise link in the chain of redirections. Affiliate testing link should redirect to Affise tracking URL at 1st instance, and no additional redirections should be in-between.

  • Wrong URL: you used the incorrect link for a test purpose.

  • Occurred Error: you used the wrong URL, so it does not redirect to Affise tracking URL.

Postback link test

  1. Make sure the affiliate postback is set correctly.

  2. In Statistics > Affiliate postbacks, check whether the conversion info came to your affiliate. Http code 200 means the postback is successful.

    Affiliates postbacks _ Rocketcompany - Google Chrome 2022-08-22 at 11.12.35 PM

🔎 You can get affiliate postbacks with status codes other than 200. This means there's some error on the affiliate side. Contact your affiliate directly to know the error.


Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?