Setup of tracking code for Quickbutik

Du som använder Quickbutik kan följa nedanstående guide för att enkelt installera vår spårningskod i din webshop:

Base script for Quickbutik

1. In your Quickbutik control panel, click Settings > Custom scripts. If the feature is not enabled, you need to do so first.

2. Click the "Add script" button.

3. Under "Name" enter e.g. "Addrevenue Base script" and under "Content" paste the code snippet below. Leave the content type at "Auto mode".

<script async src='https://addrevenue.io/track.js'></script>

4. Click Save.

Conversion script for Quickbutik

1. In your Quickbutik control panel, under Settings > Analytics and tracking click Open.

2. Scroll down to the field "Egna scripts på kvitto/tack-sidan (t.ex konverteringspixlar från Google)". Copy and paste the following snippet:

<script src='https://addrevenue.io/track.js'></script>
<script>
    ADDREVENUE.sendEvent('Purchase', {
        'value': parseFloat( {{ order.value_excl_tax }} - ({{ order.shipping_amount }} * 0.8) ),
        'currency': '{{ order.currency }}',
        'orderId': '{{ order.id }}'
    });
</script>

4. Click Save.

5. Now your tracking code is installed. Once you have installed the tracking code, we want you to make a test purchase. See our Test purchase guide for step-by-step and troubleshooting help.

 

Back