How to remove the "Instant Conversion Export" script (its discontinued)

Created by Mikkel Rosener, Modified on Mon, 1 Jul at 12:35 PM by Mikkel Rosener

Few customers ever implemented our Instant Conversion Export script.  


However, if you earlier implemented this script, then please ensure this script is removed.



How to remove the "Instant Conversion Script" script (if used):


 Login to your Shopify webshop: https://accounts.shopify.com/store-login


2. Click on"Settings" at the bottom of the left side navigation bar


3. Click on "Checkout" in the leftside navigation bar


4. Scroll down to "Order status page" where you can copy-paste additional scripts. 


5. Copy-paste the tracking script into the text field "Additional scripts":



Script to keep:

Make sure that "Order status page additional scripts" section of Checkout settings of your store, contains only the following script from us:


<script type="application/javascript">    window.reaktionStoreCheckoutId = '{{ checkout.id }}';    window.reaktionStoreOrderId = '{{ checkout.order_id }}'; </script>


Script to Remove:

Our Instant Conversion Export script that should be remove is looking something like this:


Please remove the script looking similar to below:


<script type="text/javascript">
    if (typeof gtag === 'undefined') {
        var gtagScript = document.createElement('script');
        gtagScript.type = 'text/javascript';
        gtagScript.src = 'https://www.googletagmanager.com/gtag/js';
        document.head.appendChild(gtagScript);
        window.dataLayer = window.dataLayer || [];
        function gtag() {
            dataLayer.push(arguments);
        }
        gtag('js', new Date());
    }
    gtag('config', 'AW-769800134');
    gtag('event', 'conversion', {
        'send_to': 'AW-769800134/s8RCCN-axY0YEMbviO8C',
        'value': {{ checkout.total_price | times: 1.00 | round | divided_by: 100.0 }},
        'currency': '{{ currency }}',
        'transaction_id': '{{ checkout.order_id }}'
    });
    gtag('event', 'conversion', {
        'send_to': 'AW-769800134/OG7cCPeUxY0YEMbviO8C',
        'value': {{ checkout.total_price | times: 0.65 | round | divided_by: 100.0 }},
        'currency': '{{ currency }}',
        'transaction_id': '{{ checkout.order_id }}'
    });
</script>


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 at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article