Article sections

    In this article, you will find out how to integrate Omniconvert with Shopify Plus, following these steps:

    Step 1. Install the tracking code in theme.liquid

    Enter your Shopify Plus admin and go to ‘Themes’. From top right corner click on ‘Actions’ and select ‘Edit Code’.

    Now from the left side menu choose to open the theme.liquid file.
    In it you must insert your Omniconvert code immediately after the opening <head> tag.

    <!-- start code -->
    <link rel="dns-prefetch" href="//" />
    <script type="text/javascript">window._mktz=window._mktz||[];</script>
    <script src="// code.js"></script>
    <!-- end code -->

    Step 2. Install the tracking code in Additional scripts

    Go to your Shopify Plus ‘Settings’ and on that page select ‘Checkout’.

    On the Checkout settings page scroll down until you reach Additional scripts section, and in the designated window insert the following Sales goal snippet code:

    <!-- start Omniconvert conversion goal code -->
    var mktzCustom = { 'orderId': '{{ checkout.order_id }}' };
    window._mktz = window._mktz || [];
    window._mktz.push(['_Goal','sale','{{order.total_price | money_without_currency}}',{transaction:'{{ order.order_number}}'}]);
    <!-- end Omniconvert conversion goal code -->

    Was this post helpful?