> For the complete documentation index, see [llms.txt](https://pipeline.groupthought.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pipeline.groupthought.com/popups/popups/text-popup.md).

# Text popup

Powerful and simple popup feature with ability to target different pages, sources and behaviour

A lightweight text and link popup with powerful behavior and targeting options:

![](https://3528441459-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LovEU3LvzkJzFkXarYD%2F-MjBzv4ItGn-VDpe4YvE%2F-MjC-RsheGm0gRWfxluJ%2FScreen%20Shot%202021-09-09%20at%204.58.25%20PM.png?alt=media\&token=21988e65-3b0a-4a8b-9224-2db6c43b7be7)

{% hint style="success" %}
Ideal for quick messages and targeted promo codes
{% endhint %}

### Popup Behaviour

Popups can be positioned:

* Left
* Right
* Center

Popups can appear based on time or other behavior. Setting options include:

* Show immediately
* Show 10 seconds after page load
* Show after user scrolls to the page bottom
* Show after the user has been idle for 1 minute

### Target Page

Display a custom popup to your customers only when the customer is browsing a certain page, product, collection, or blog post on your site. Target your message based on where customers are browsing on your site:

{% hint style="success" %}
Create different popups and messages for various pages of your site.
{% endhint %}

![](https://3528441459-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LovEU3LvzkJzFkXarYD%2F-MjBzv4ItGn-VDpe4YvE%2F-MjC1tp-2Qw6B9wOUpD6%2FScreen%20Shot%202021-09-09%20at%205.11.06%20PM.png?alt=media\&token=501f6e0a-09db-434f-bea8-a69dffc89104)

### Target Referrer

Target a specific audience by using Target Referrer. Your popup will only appear when the customer arrives at your site from a certain path or location.&#x20;

{% hint style="success" %}
Enable when running a promotion on another site. Customize message based on the source.
{% endhint %}

![](https://3528441459-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LovEU3LvzkJzFkXarYD%2F-MjBzv4ItGn-VDpe4YvE%2F-MjC1ybwN14gPmwU2MUO%2FScreen%20Shot%202021-09-09%20at%205.05.55%20PM.png?alt=media\&token=0aa9dce5-ff24-4005-a1e1-e823e5eb3310)

{% hint style="success" %}
Use to provide a custom discount code to your customers when they arrive from a social media or other paid promotion.
{% endhint %}

### Target Device

Create a custom popup for mobile devices and another popup for desktop browsers with Target Device. Each popup can be customized with different assets and messaging.

![](https://3528441459-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LovEU3LvzkJzFkXarYD%2F-MjBzv4ItGn-VDpe4YvE%2F-MjC22Gmn-j-xq996tlA%2FScreen%20Shot%202021-09-09%20at%205.07.48%20PM.png?alt=media\&token=c4f1dcd9-7df1-4f0c-904c-2410b2eef95a)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://pipeline.groupthought.com/popups/popups/text-popup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
