Bonusway

Here's how you can add Bonusway snippet to Finqun online store.

Updated over a week ago

Embed code

The Bonusway service is connected to the online shop using an embed code.

Code provided by Bonusway

<!-- Offer conversion: your shop name -->
<iframe src=" https://tracking.bonusway.com/aff_l?offer_id=OFFER_ID&adv_sub=SUB_ID&amount=AMOUNT " scrolling="no" frameborder="0" width=" 1" height="1"></iframe>
<!-- // Stop offer conversion ->

Editing the code

In Finqu online store, you can only add javascript code to the checkout page. Therefore, you need to convert the above HTML code to javascript before adding it. We have made the changes for you, and you can use the code below.

Before adding the code, replace the OFFER_ID field with your OFFER_ID. You can find it in the iframe code that Bonusway gave you.

Code to be inserted in Finqu

(function () {
var iframe = document.createElement("iframe");
iframe.src =
"https://tracking.bonusway.com/aff_l?offer_id=OFFER_ID&adv_sub={{checkout.order.id}}&amount={ {checkout.order.total}}";
iframe.setAttribute("scrolling", "no");
iframe.setAttribute("frameborder", 0);
iframe.setAttribute("width", 1);
iframe.setAttribute(" korkeus", 1);
document.getElementsByTagName("body")[0].appendChild(iframe);
})();

Adding the code

  1. In the Javascript section, click Add.

  2. Select the Thank You page as the target page.

  3. Click Confirm.

  4. A new field will appear on the page.

  5. Paste the code into the field and Save.

Did this answer your question?