# Create onsite notification

To create an onsite notification, go to onsite notifications from the main navigation bar.

<figure><img src="/files/CcHtIIQAWok77ixJuVBZ" alt=""><figcaption></figcaption></figure>

You will land on [Onsite notifications list](/onsite-notifications-list.md).

<figure><img src="/files/Sy5yK9wsIbDaLtp2ZrDx" alt=""><figcaption></figcaption></figure>

Now, click on the **New onsite notification** button in the upper right corner.

<figure><img src="/files/cqYvY5ieEPq31RewEOe1" alt=""><figcaption></figcaption></figure>

As soon as the onsite notification creator opens, you can begin the configuration of your notification.

First, decide on the character of your message. If you want the notification to be strictly informational, you don't need to perform any additional actions. If you want it to redirect users to a different URL, use the toggle shown on the screen below.&#x20;

<figure><img src="/files/IUQ7m9qlw3MVHV7pHXFA" alt=""><figcaption></figcaption></figure>

If you choose the Redirect on click option, make sure to use UTMs in the URL, so you can track the results in your Google Analytics (or any other tracker you use).

Next, prepare the content. You will need:

* Icon (most likely your project logo)
* Title
* Content
* Placement (e.g. bottom right)

Optional onsite elements:

* Image
* Actions
* Add overlay

<figure><img src="/files/C3Q1XaGnKBaVQ0I4rCCu" alt="" width="563"><figcaption></figcaption></figure>

Now, choose your audience. Onsite notifications can be displayed to all visitors after entering the website or to those who meet specific conditions.&#x20;

<figure><img src="/files/79b0JydPX0TEjmrRO0ug" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/HtyBkgSlilwNXl4GkIyA" alt="" width="375"><figcaption></figcaption></figure>

Available data for setting up conditions:

* Referrer URL
* Visited URLs
* Number of visited URLs
* Language
* Current URL
* Is subscribed
* Session duration (s)
* Page visit time (s)
* Platform type&#x20;

The last step is to choose the display strategy:

<figure><img src="/files/em91gHmLa9TOFpH5ekxV" alt="" width="375"><figcaption></figcaption></figure>

To see all options above, you must also have the [Inbox](/onsite-notifications-1/inbox.md) feature included in your plan.&#x20;

The display duration specifies how long notifications will be actively visible on the user's device screen until manually dismissed or clicked on.&#x20;

You can also decide if you want to limit the visibility to particular dates.&#x20;

When you are done with the configuration, hit the "Create notification" button.&#x20;

Now, you can decide if you only want to create a draft or publish and activate the campaign:

<figure><img src="/files/ICrXVcrsBHKJBtViOisY" alt="" width="563"><figcaption></figcaption></figure>


---

# 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://docs.pushpushgo.company/onsite-notifications-1/create-onsite-notification.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.
