Article sections

    The RFM-related information can be synced back into Shopify, for each customer.

    This is a Limited Preview feature at the moment, so please don’t hesitate to contact our Customer Support team if you would benefit from having the RFM information within Shopify.

    How to expose RFM information within your Shopify store frontend

    The code is automatically added for you, by the Shopify Reveal App.

    However, if you need to change or debug something, here’s where you can find it.

    Step 1:
    Go to Online Store > Themes

    Step 2:
    Edit the code of your current theme

    Step 3:
    Go to Snippets > snippets/omniconvert_reveal-rfm-customer.liquid

    Step 4:
    The code which is automatically populated is listed below.

    {% if customer %}
        {% unless customer.metafields.omniconvert_reveal.data == blank %}
        <script id="omniconvert_reveal_rfm_customer">
            window._Reveal = {};
            {% for key_value in customer.metafields.omniconvert_reveal.data %}
                window._Reveal['{{ key_value[0] }}'] = '{{ key_value[1] }}';
            {% endfor %}
        </script>
        {% endunless %}
    {% endif %}

    Useful links

    For more information on how meta fields are used, check out this article on Shopify: https://help.shopify.com/en/themes/liquid/objects/metafield