To launch an affiliate program, it is necessary first to integrate your website and database with the Admitad system, so that Admitad could receive data about actions performed by users on your website and record them in the statistics.
Admitad offers the following methods of integration:
- Integration via postback request;
- Integration via XML;
- Integration via API;
- Integration via Google Analytics API.
How to select an integration method?
Integration via tracking code
* A thank you page is the page that a user will see right after they have filled out a form, made a purchase, signed up for your newsletter.
- Insert the code in the
<head>tag before all other scripts, otherwise, a user may close the page before the script is triggered.
- We do not recommend placing it in the Google Tag Manager (GTM), as the GTM is blocked by popular ad blockers. This can lead to losses of orders, discrepancies in the analytics, and problems with verifications.
- When the site is updated, it is necessary to check out that the code has not been deleted and continues working.
- If your website has a mobile version of the website or a mobile app, quick order forms, or 1-click order forms, make sure that the tracking code is installed there, too.
You can find full information about this type of integration in Integration via tracking code.
Integration via postback request
When integrating via postback request, your server sends a request with information about performed actions to the Admitad server. The Admitad server receives this data and records it in the statistics.
- The changes made on the website do not affect request sending.
- It is a more secure solution because the request contains a private authorization key. Besides, requests are sent from pre-known IP addresses, and the request source can be checked at any moment in the logs.
- There are ready-made solutions for store integration based on popular CMSs (WooCommerce, OpenCart). See more on the integration via plugins
- To implement the solution, you need to have access to the server side of the website (back-end).
For more information on this type of integration and its setup, read the article "Integration via postback request."
Integration via XML
Integration via XML is a type of integration when you create an XML file with a certain structure, where the data about performed actions are uploaded. The Admitad server with certain periodicity access this file and unload the data in the statistics.
- You can restrict access to the file with a login and password.
- With the relevant settings, publishers can receive information on the orders in real-time.
- In case of any operating failures, the orders can be easily restored in the Admitad statistics.
- If the processing queue increases, delays may occur in the appearance of data.
For more information on this type of integration and its setup, read the article "Integration via XML."
Integration via API
If you have an API, provide the specialists from the Admitad tracking department with the documentation on it, on the basis of which an individual integration procedure will be developed.
- A flexible algorithm allows setting any terms of collecting data,
- Minimum API improvements are required from you.
- This type of integration is the most time-consuming because it requires involving developers in the implementation and testing of the code.
Integration via Google Analytics API
If you collect data on actions performed by users in the Google Analytics counter, you can set up the integration via Google Analytics API (GA API).
- Minor work efforts are needed in the case of Admitad being the only traffic source.
- The Last Cookie Wins attribution model is set up via the special parameters.
- One solution for all affiliates.
- Reducing the number of lost actions that were not registered because of adblockers and other extensions by setting up Google Measurement Protocol.
- Dependence on third-party decisions and restrictions by Google.
- Lack of flexibility in settings of target actions and rates.
- A high percentage of lost actions without setting up GMP and LCW in comparison with other integration methods.
For more information on this type of integration and its setup, read the article "Integration through the Google Analytics API."