# Custom tracking URLs

Shopify supports many different shipping carriers when adding a tracking number to an order.

![](/files/aPhwM49esRG3vQtUxVpC)

Your customers receive then an email with the tracking number linked to a website where they can check their package status.

Nevertheless, there are still shipping companies not recognized by Shopify. You can then enter a custom tracking URL.

Fulfilleo enables you to automate adding custom tracking URLs to your orders.

#### Fixed Tracking URL

If you work with a single shipping carrier, then you can define a fixed URL. Fulfilleo will append the tracking number at the end of the fixed URL.

![Set fixed tracking URL](/files/AToBqDjfCmLuYFQR93uH)

#### Variable Tracking URL

If you work with multiple carriers then you can specify a Liquid script that will generate a proper tracking URL based on the carrier name.

![Set variable tracking URL](/files/l4OiJQxey7ejncQdz9ro)

```liquid
{%- if trackingCompany == 'Box Runner' -%}
    https://boxrunner.test/status?number={{trackingNumber}}
{%- elsif trackingCompany == 'Speedy' -%}
    https://speedy.example/track?id={{trackingNumber}}
{%- endif -%}
```

You can also define rules to determine the tracking URL based on the tracking number format. For example, looking at the first three digits of the tracking number.

```liquid
{%- assign firstThreeDigits = trackingNumber | slice: 0, 3 %}
{%- if firstThreeDigits == '157' -%}
    https://www.dao.as/privat/find-din-pakke?stregkode={{trackingNumber}}
{%- elsif firstThreeDigits == '770' -%}
    https://www.postnord.dk/varktojer/track-trace?shipmentId={{trackingNumber}}
{%- endif -%}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.fulfilleo.solvenium.com/data-mapping/custom-tracking-urls.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
