...
Code Block |
---|
{% comment %} START MALOMO {% endcomment %} {% comment %} Base URL for Malomo tracking page, e.g. "https://example.mymalomo.com" {% endcomment %} {% assign malomo_base_url = "ADD_BASE_URL_HERE" %} {% if fulfillment.tracking_company %} {% capture carrier %}{{ fulfillment.tracking_company }}{% endcapture %} {% endif %} {% if carrier and carrier != blank and carrier != "Other" %} {% capture tracking_url %}{{ malomo_base_url }}/?_m_alt_id={{ order.id }}&_m_tracking_code={{ fulfillment.tracking_numbers.first }}{% endcapture %} {% elsif order_status_url %} {% capture tracking_url %}{{ order_status_url }}{% endcapture %} {% endif %} {% comment %} END MALOMO {% endcomment %} |
3. Replace the example red base URL (https://yourbrand.com/pages/order-tracking
in the HTML above) with your actual base URL.
...