# Custom tracking URLs

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

![](https://2609323150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F97qHA4IuHSHLxA8BhsWe%2Fuploads%2Fgit-blob-a1239c27b7157f63aa4d086b9ea8781bd5d08b52%2Fimage.png?alt=media)

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](https://2609323150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F97qHA4IuHSHLxA8BhsWe%2Fuploads%2Fgit-blob-091c0039a874e82a6c5cdc23f37c03bf7826421e%2Ffulfilleo-fixed-tracking-url-for-shopify-order.png?alt=media)

#### 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](https://2609323150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F97qHA4IuHSHLxA8BhsWe%2Fuploads%2Fgit-blob-a2db93797859a4cc090093b2de1e0387a67cdd0a%2Ffulfilleo-set-variable-shopify-order-tracking-number.png?alt=media)

```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 -%}
```
