> For the complete documentation index, see [llms.txt](https://docs.omnichat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnichat.ai/en/features/marketing-automation/remarketing/marketing-campaign-setting.md).

# Marketing Campaign Setting

Understand how to set up a comprehensive Website's marketing campaign

Start creating your marketing campaign > Click "New Campaign"

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FKatsUN32Cotvm4qrv92g%2FScreenshot%202022-04-27%20at%201.38.35%20PM.png?alt=media\&token=46b1f2e1-607d-4789-8a92-b048873a29df)

Select the most suitable campaign template, or create a "New Empty Campaign" to create your own campaign content. The following is the introduction of the "New Empty Campaign"

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FULFRNXd7pMPMeyyNs1yP%2FScreenshot%202022-04-27%20at%201.40.37%20PM.png?alt=media\&token=d0a1e055-8089-4093-adac-7acc3d3d0364)

{% hint style="danger" %}
Please note that if you choose to use marketing activity templates from other scenarios, the newly-created marketing activity will automatically utilise the system's default 'trigger rules' and 'trigger actions'. The above two sections must be adjusted according to your specific situation or activity.
{% endhint %}

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FK3rvMDU6A3pX0ZUZZckX%2FScreenshot%202022-04-27%20at%201.52.52%20PM.png?alt=media\&token=c07b9edf-a137-4f7c-8f52-cbb6b5495264)

* Campaign name: You can set the campaign name and it will not be displayed on the front end
* Campaign duration: Set the campaign period.\
  For example, when you want to deliver "All items 30%off for NEW MEMBER" message only from 1st June 2022 to 7th June 2022, you can select "Set date range" and choose `2022-06-01 to 2022-06-07`; If you don't want to set a specific time, you can select "Forever"
  1. If you want a more specific time range, you can also add the `(hour: minute)`
  2. For example,`2022-02-08 00:00 to 2022-02-15 23:59`

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FwqNqMrWZUaCTtewntKfq%2FScreenshot%202022-04-27%20at%202.23.11%20PM.png?alt=media\&token=e889dc77-bd0c-4858-bfe4-54b11ac991ca)

If you want to pause or stop the campaign, please click "Disable"

## Set the Rules Settings

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FRKmGH1hH7bVEsXlTJgiX%2FScreenshot%202022-04-27%20at%202.28.33%20PM.png?alt=media\&token=a258eec0-e6f5-4295-9779-8f0e54d3e7f2)

By setting the rules, you can select which pages to trigger the campaign. When customers visit the specific pages and match the rules, the campaign will be automatically triggered.

* All Pages: All pages with Omnichat plugin installed
* Special Pages: Special pages that contain the plugin

{% hint style="info" %}
"Special Pages": If you want the customers to meet any one of the rules to trigger the campaign, please choose "URL match any rule"; If you want the customers to meet all of the rules to trigger the campaign, please chose "URL match all rule"
{% endhint %}

**Example 1:**

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FC8FpMQpTzQmEv0EFkKx3%2FScreenshot%202022-04-27%20at%202.44.51%20PM.png?alt=media\&token=ec55a702-856e-4494-8960-8ca31a4fd2df)

Take the above case as an example:

When the visited URL is [www.abc.com/\*\*about](http://www.abc.com/**about)\*\* or [www.abc.com/\*\*product](http://www.abc.com/**product),\*\* the campaign will be triggered

**Example 2:**

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FRFjHE4iJ93a5E22eITns%2FScreenshot%202022-04-27%20at%202.45.26%20PM.png?alt=media\&token=95f7bf59-9cdf-404c-8f6e-8d0dc777d5cd)

Take the above case as an example:

When the visited URL is [www.abc.com/\*\*about\*\*/\*\*product](http://www.abc.com/**about**/**product),\*\* the campaign will be triggered

If the visited URL is [www.abc.com/\*\*product\*\*/omnichat](http://www.abc.com/**product**/omnichat), the campaign will not be triggered as the rules only matched the rule "product"

### When creating "Special pages", there are some URL rules can be used

"URL is", "URL contains" and "URL does not contain" can be set for "Special pages"

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F5ilO5qBB5D5rg5CYgQ80%2FScreenshot%202022-04-27%20at%202.54.41%20PM.png?alt=media\&token=cd4b70d2-9aab-49b4-b903-b840cdfc8dbc)

1. *URL is:* Set the complete URL, and the campaign will be triggered only when the customer visit the specific URL
2. *URL contains:* Set the Keywords of the URL, and the campaign will be triggered when the visited URL **includes** the specific keyword
3. *URL does not contain:* Set the Keywords of the URL, and the campaign will be triggered when the visited URL **does not include** the specific keyword

The usage of *URL does not contain:*

If you do not want to display remarketing messages on some specific types of pages , then you may use **URL does not contain**.

For example, you want to display remarketing messages on all pages, except specific URL including the keyword `product`.You can select "Special pages" > "*URL does not contain" and input* `product`.

### Number and duration of visits

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FoEFD5QgIC5y9q5fJf0cl%2FScreenshot%202022-04-27%20at%203.48.13%20PM.png?alt=media\&token=e6a3e815-b3cd-43c7-996b-df2fcb924f99)

* Total visit times: The total number of the page visits which are matched with the above settings
* Stay time to trigger action: How long will the customers stay at the specific URL to trigger the remarketing campaign (that customers need to meet the total visit times first)

{% hint style="danger" %}

1. The unit of total visit times is set as "times", which means customers will trigger this remarketing campaign after visiting the specific page at the " " time
2. The unit of total visit times is set as "times or above", which means customers will trigger this remarketing campaign after visiting the specific page at " " times or above (including the number of times)
   {% endhint %}

According to the above example:

When the total visit time is set as 1 **time**, as long as customers visit one of the specific pages "for the first time", both two conditions of the "Special pages" and "Total visit times" will be matched. When customers stay at that specific URL for more than 5 seconds, and this marketing campaign will be triggered. Even customers stay for more than 5 seconds in the second visit, the campaign will not be triggered.\
\
If the total visit time is set as 1 **time or above**, the first and further visits will be included. When customers stay for more than 5 seconds in the second visit, the campaign will be triggered.

{% hint style="info" %}
Q: How to calculate the visit time?

A: It will be calculated by different methods based on the **Campaign Duration**\
\
\&#xNAN;***Forever:*** Counted from the day that the remarketing campaign created

***Set date range:*** Counted from the start date to the end date of the specific date range
{% endhint %}

### **Exclude customers who visit below pages**

If you want to exclude customers who visit specific pages from remarketing messages, you can set the "**Exclude customers visit below pages**"

You can set one or multiple **keywords or URLs,** as long as **customers meet one of the rules, the campaign will not be triggered again within the campaign period**

The most common situation: When your remarketing campaign is to send the promotion code, you may want to exclude the customers who had already checked out. So, you will need to exclude all the **customers who visit the checkout page**.

You can input your checkout URL or keyword on the "**Exclude customers visit below pages**"

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FHtf4100Ck9x4gyVaglUU%2FScreenshot%202022-04-27%20at%204.39.10%20PM.png?alt=media\&token=8c526528-2d57-441c-9d52-b34b2d6f5d06)

## Actions **settings**

The following three actions can be triggered automatically:

1. Add tags to customers (can create multiple tags)
2. Automatically send messages to customers (One-time website message)
3. Remarketing through third-party Messenger (One-time Facebook / LINE / WhatsApp message）

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fmk80VfwEYv5W11XwNGqd%2FScreenshot%202022-04-27%20at%204.44.15%20PM.png?alt=media\&token=c9868232-6bc0-4dea-9ce7-a2f1c9e658fc)

Three actions can be triggered at the same time, but each action can only be triggered once!

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FbXPByxztKPFJwbzN6PbL%2FScreenshot%202022-04-27%20at%204.57.09%20PM.png?alt=media\&token=b8483c5c-3c03-41b1-8fb4-6726c1e5237f)

### How to create **Actions Settings**

#### Finish the Rules Settings, then click "Add Action" under "Actions Settings"

#### 1. Select the first setting "Add tags to customers"

{% hint style="info" %}
You can input one or multiple Tags, remember to press "Enter" after creating each Tag. Then you can use the Tags to send broadcast to the target audience more effectively.
{% endhint %}

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F1WBCy2McexvDk1FL6sNY%2FScreenshot%202022-04-27%20at%205.29.01%20PM.png?alt=media\&token=1af47a85-a47e-4ded-9f60-5e154a515535)

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FNTZP2HYbK8AV7htxeAwY%2FScreenshot%202022-04-27%20at%205.26.01%20PM.png?alt=media\&token=d86569a9-c382-43be-b927-a315bd9413ac)

#### 2. Select the second setting "Automatically send messages to customers (One-time website message)"

You can set the message type such as Text, Image and Text and Video.

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FJ40FzVkymM2L6N5wRUht%2FScreenshot%202022-04-27%20at%205.29.33%20PM.png?alt=media\&token=3ea34ae5-5247-4ad4-b2ba-65d0ff4243b5)

![Message type: Text](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FMKhyuefxWDHE0WjrgqT2%2FScreenshot%202022-04-27%20at%205.34.14%20PM.png?alt=media\&token=a8bfbcbb-a8a4-4c7b-8418-091b08f3f049)

![Message type: Image and Text](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FR2NF02pbKTbLpR40DQfd%2FScreenshot%202022-04-27%20at%205.34.42%20PM.png?alt=media\&token=84d88589-2800-4965-9f3d-4a765536c607)

{% hint style="info" %}

1. If you choose "Image and Text" type, it is recommended to upload images in the ratio of 1.91 : 1 (e.g. 955px \* 500px)
2. If you want to create a better mobile user experience, it is suggested to upload images in a square ratio (e.g. 500 px \* 500 px)
   {% endhint %}

![Message type: Video](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FNlG9tKs9DYhSNejp25UO%2FScreenshot%202022-04-27%20at%205.35.11%20PM.png?alt=media\&token=1994a751-8ec2-4f6f-897d-b29304d9a0f5)

Youtube URL: please use the original URL; Shortened or Redirect URL would be invalid.

#### 3. Select the third setting "Remarketing through third-party Messenger"

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FqxAYyaPdRS9q9S86uHG9%2FScreenshot%202022-04-27%20at%205.29.12%20PM.png?alt=media\&token=6fdbb1cc-6d1a-4d77-93f8-ad68d20583b6)

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FBATYm2gdSfu7HMf6UZC6%2FScreenshot%202022-04-27%20at%205.29.20%20PM.png?alt=media\&token=9992e1b3-17b8-4ac8-a9a1-ae95e104a561)

Click "Remarketing through third-party Messenger" and the window of "Set third-party Messenger remarketing" will be popped up

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fb0WOxcZWbcnFelAbi8JO%2FScreenshot%202022-04-27%20at%205.48.55%20PM.png?alt=media\&token=65c66fa9-dc7b-4d35-9322-ad3cff4f395b)

Omnichat allows you to set the trigger rules: Customers who visit specific URL will receive Facebook, LINE or WhatsApp messages after a certain period. If you want to send the messages instantly, you can set 0 days and 0 hours.

{% hint style="info" %}
In addition to Image and Text, you can also send Chatbot to customers. But you need to create a Chatbot on the [Bot Builder](/en/features/marketing/chatbot-builder.md) for your marketing campaign first
{% endhint %}

{% hint style="info" %}
If you select "Add Message Block from Bots", the maximum number that can be sent will be 1
{% endhint %}

5\. After setting, please click "save"

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FTH1rQQSgo0W2yXUSLZ0p%2FScreenshot%202022-04-27%20at%206.10.40%20PM.png?alt=media\&token=6c4f1c91-d8ad-4331-8018-37b9868c5db0)

6\. You will see this page when you successfully create the campaign

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FCug2BlJiyHKKUwin6Mfg%2FScreenshot%202022-04-27%20at%206.11.37%20PM.png?alt=media\&token=4b797b5a-768f-49a1-8d20-57fcbfd10988)

For more applications of marketing campaigns, please click [here](/en/features/marketing-automation/remarketing/application-of-marketing-campaign.md)!
