Connect your e-shop with Affilbox

Modified on Mon, 13 Nov 2023 at 03:01 PM

AffilBox is software for managing your own commission program. Thanks to the commission program, the e-shop can establish fair cooperation with influencers, bloggers, but also with various review catalogs or product comparators.

The connection require that that the e-shop support conversion tracking, which is a Premium feature not available for all packages. If you cannot use it but wish to do so, upgrade your website through your account.


First, you will need to create an account on the Affilbox website. To link your account, you need to enter the tracking code and conversion code, which you can find in the Affilbox account administration for your campaign. You can find it on the left menu under Advertising campaigns. Before deploying the codes, you need to create a subdomain for your commission program, such as partner.myshop.com, affiliate.mysite.com.



Tracking code


Select the Settings tab in the top menu of the editor. Go to Website Settings and paste the tracking code into the Website header HTML code field and Save the change.




Conversion code


The conversion code allows you to track the conversions of your e-shop. Its placement is best suited on the so-called thank-you page. This is the page where your customers are redirected after completing their orders.


Select the Settings tab in the top menu. Go to the Online store section. Then, in the right pane, select Conversion Tracking.


From the menu, select Order complete, which you'll expand in the right-hand corner and enter the conversion code. You will then Save the change.


Edit conversion code


For the conversion code to send the price per order without VAT, without shipping cost, and without cost per payment, the generated conversion code still needs to be modified to look like this:

<script type="text/javascript">
var ab_instance = "xxxxxxxxxxx";
var ab_kampan = 1;
var ab_cena = window['productsData']['items_price'];
var ab_id_transakce = window['productsData']['transaction_id'];
var ab_mena = window['productsData']['currency'];
</script>
<script src="https://xxxxxxxxxxxx/js/module/conversion-v3.js" type="text/javascript" async defer></script>


NOTE: Instead of xxxxxxxxxxx enter your chosen subdomain for your commission program (for example partner.myshop.com, affiliate.mysite.com, etc.). After linking the site with the Affilbox service, we recommend testing if everything is functioning correctly.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article