# Blacklisting

Keyword blacklisting on the tracking page is a powerful tool that enables merchants to prevent certain words or phrases from being displayed in the tracking information or replace them with keywords of choice. This feature is very useful for drop shippers as many customers tend to worry when the order origin is too far from them or has China origin.

**To enable the Keyword blacklist feature:**&#x20;

1. Go to Omega Order Tracking app > Tracking Page > Configuration > Blacklisting&#x20;
2. Click on “Enable”

<figure><img src="https://2820706060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvvENJcykqmmnomA7uzWZ%2Fuploads%2FzS6l1Zaw9S1Q1A5E4Vcj%2Fimage.png?alt=media&#x26;token=4055eca8-3bd5-47f1-95ef-b104e80adfcf" alt=""><figcaption></figcaption></figure>

## **Step-by-step guide**

To hide and/or replace the country or region, the step-by-step guide has been divided into two sections:

* Replace locations
* Search and replace words

### **Replace locations**

You can replace a location with:

* Empty location
* Another city

#### **Empty location**

To replace the origin country with an empty location of your choice, follow these steps:

1. Select “Empty location”&#x20;
2. Type in & scroll to find the country or region you want to filter&#x20;

<figure><img src="https://2820706060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvvENJcykqmmnomA7uzWZ%2Fuploads%2FqGLsprqiCUoeaNU5EBwJ%2Fimage.png?alt=media&#x26;token=5cdbe7fd-9ccd-474e-8a8c-8b4b9dd5743e" alt=""><figcaption></figcaption></figure>

When a customer searches for the package, the chosen region/location will be hidden from your tracking page.

#### **Another City**

To replace the origin country with a location of your choice, follow these steps:

1. Select “Another city”&#x20;
2. In the field Country or region to be replaced, select the country name(s) or region to be replaced on the tracking page. For example, China is selected in the example below. You can choose multiple countries/regions to be replaced.
3. In the field Search and replace with country or region, select the country to be replaced with. For example, China will be replaced with Berlin, Germany in the image below.

<figure><img src="https://2820706060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvvENJcykqmmnomA7uzWZ%2Fuploads%2FUBDdEIEn7YaH8vwdLmEt%2Fimage.png?alt=media&#x26;token=2931a2f2-ae3a-49b8-b595-48a766532a1f" alt=""><figcaption></figcaption></figure>

**Note**

<mark style="background-color:green;">There is also an option to blacklist a whole region. For example, if you select Asia, all countries located in Asia will be replaced with your selected location.</mark>

After selecting a country or region to be replaced, the software will automatically mask all the cities of the masked country with the provided location or all the countries belonging to the area to be concealed, with a location of your choice. You don’t need to add them separately.

For example, suppose you have masked China and replaced it with Berlin and there’s tracking information that has Guangzhou (a city in China) in it. In that case, Omega Order Tracking will automatically detect that Guangzhou is in China and will replace it with Berlin. The same will apply to Shanghai, Chengdu, Dongguan, and any other city within China.

### **Search and replace words**

1. In the Blacklisting section, click on “**Add new line**”.
2.  A popup will appear. In the Find field, specify the carrier's name or any word you want to change.\


    <figure><img src="https://2820706060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvvENJcykqmmnomA7uzWZ%2Fuploads%2FWCfXSRWMfk6qTBm1FfJ2%2Fimage.png?alt=media&#x26;token=de483bf0-9fc5-4e78-b661-1889294d269e" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Sometimes, China will be displayed on the tracking page as "CN", which can't be automatically filtered out by setting on **Replace locations** section. To ensure filter all China-related keywords, add the keyword "CN" in the **Search and Replace words** section.
{% endhint %}

3. In the Replace field, type the words you want to appear as a replacement.

_**For example:**_&#x20;

Type “YunExpress” in Find and “In transit” in Replace. This will change the keyword of “YunExpress” to “In Transit” so whenever someone searches for YunExpress, they will see In Transit instead.

Type “front door” in Find and “home address” in Replace. This will replace the phrase front door with home address.

4. Click “Save”.

The change will be updated automatically on your tracking page.&#x20;

### **Understand RegEx to find & replace**

The find and replace feature requires an exact match between the word to be found and the word in a match. For instance, if you're looking for the word "YunExpress," the find and replace function will only replace instances of "YunExpress” and not other variations like "yunexpress" "YUNEXPRESS" or "YunExPress" with different capitalization.

If you wish to replace all of these variations with the term "International courier" you would need to manually perform the find and replace operation three times, once for each variation.

To simplify this process, you can utilize a regular expression (RegEx) by specifying it as "/yunexpress/i" as below. This will allow you to find and replace all variations of "YunExpress" with "International courier"

<figure><img src="https://2820706060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvvENJcykqmmnomA7uzWZ%2Fuploads%2F3z0wrBJrCggm4vNsaheg%2Fimage.png?alt=media&#x26;token=d477a412-777d-431d-92e6-604bdbc04141" alt=""><figcaption></figcaption></figure>
