# Send inline in-apps

An inline in-app is a banner that sits inside a screen of your app, between its own content, instead of covering the screen. Your developers place a slot in the app layout, for example under the deals carousel on the home screen. You then decide in the Control Panel which banner fills that slot, for which users, and for how long. You don't need to release a new app version to change it.

<img src="/in-apps-send-inline-in-apps-1.webp" alt="Preview of an inline banner Free delivery this weekend placed between the content blocks of an app screen" width="272"/>

Use inline in-apps for content that should stay in place while the user browses: a promo on the home screen, a delivery offer above the checkout button, or a personal recommendation on a product page.

## How inline in-apps work

1. **The app reports its slots.** Each slot in the app has a slot ID, such as `home_promo`. When a slot first appears on screen, the app asks Pushwoosh for its banner. The app asks again for all its slots at the start of every session and after the user ID changes.
2. **Pushwoosh picks one banner per slot.** It takes the active inline campaigns that use this slot ID and are within their start and end dates. Then it skips the campaigns whose audience doesn't include the user, and marketing campaigns the user has reached the [frequency capping](#place-the-banner-in-a-slot) limit for, which caps how often one user sees marketing banners.
3. **The campaign with the highest [priority](#place-the-banner-in-a-slot) wins.** You set the priority, High, Medium, or Low, for each campaign. When campaigns have the same priority, the most recently created one wins. If no campaign fits, the slot stays empty and takes no space on the screen.
4. **The banner takes the slot's width and its content's height.** The app keeps the last banner it got, so the banner is still there when the app starts without a network connection.
5. **A show is counted when the user sees the banner.** At least half of the banner has to stay on screen for 0.3 seconds. A banner further down the screen counts only once the user scrolls to it.
6. **A hidden banner frees the slot.** If the user taps the "hide banner" cross, or performs the campaign's [cancel event](#place-the-banner-in-a-slot), an event you pick in the campaign settings, the banner is hidden for this user. The slot then shows the next campaign by priority, or collapses.

Users in the [global control group](/product/audience-data-and-segmentation/control-groups/create-and-manage-control-group/) don't get banners of marketing campaigns. Their slot stays empty. Transactional campaigns reach them too.

## Before you start

<Aside type="caution" icon="setting" title="Developer assistance needed">
Inline in-apps appear only in apps where your developers have placed slots. Share these guides with them:

* [Inline in-apps for iOS](/developer/pushwoosh-sdk/ios-sdk/ios-inline-in-apps/) (iOS SDK 7.3.1 or later)
* [Inline in-apps for Android](/developer/pushwoosh-sdk/android-sdk/android-inline-in-apps/) (Android SDK 6.17.3 or later)
</Aside>

Ask your developers for the slot IDs they placed and the screen each slot is on. You need the exact ID: a campaign with an ID that no slot in the app uses is never shown.

## Create an inline campaign

1. Go to **Campaigns** → **In-app campaigns**.
2. Click **Create campaign**, then select **Inline block**.

<img src="/in-apps-send-inline-in-apps-2.webp" alt="Create campaign menu with Instant in-app and Inline block options, Inline block highlighted" width="288"/>

The campaign wizard opens with four steps: **Content**, **Audience**, **Settings**, and **Review**. The **Preview** column on the right shows the banner inside a phone screen at every step.

### Choose the banner

In the **In-app banner** field, select an existing in-app or click **Create new** to build one. Then choose the message type:

* **Marketing message:** for promotions. The banner follows frequency capping, and users in the global control group don't get it.
* **Transactional message:** for service information, such as an order status. The banner skips frequency capping, and the global control group gets it too.

<img src="/in-apps-send-inline-in-apps-3.webp" alt="Content step of the Inline block wizard with Weekend Free Delivery Banner selected and Marketing message chosen" width="655"/>

### Design the banner

Click **Create new** → **Create new template**, or **Edit content** above the preview. The in-app editor opens in **Inline** mode: the phone screen shows the slot between placeholder app content, so you see how the banner fits the screen.

Build the banner with blocks, or describe it on the **AI** tab. The banner always takes the full width of the slot, and its height follows the content, so keep it short: a heading, one line of text, and a button are usually enough. [Learn how to build in-apps in the editor](/product/content/in-apps/no-code-in-app-editor/create-rich-media-in-the-built-in-editor/).

<img src="/in-apps-send-inline-in-apps-4.webp" alt="In-app editor in Inline mode with the Free delivery this weekend banner in the slot of the phone screen, the Inline switch highlighted" width="704"/>

#### Choose the tap action

Click **Display settings** in the editor toolbar. In **Action on banner tap**, choose what a tap anywhere on the banner does:

* **Nothing:** the tap does nothing. Use it when the banner has its own buttons.
* **Open link:** opens a web page. Enter the URL, for example `https://example.com/deals`.
* **Open deeplink:** opens a screen of your app. Enter the deeplink, for example `grocerygo://deals/delivery`. To open different screens on iOS, Android, and Huawei, turn on **Separate deeplink for each platform**.
* **Send event:** sends an event to Pushwoosh, which you can use in segments and journeys. Enter the event name, for example `BannerTapped`.

Buttons and images that have their own link keep their action.

#### Choose whether users can hide the banner

To let users close the banner, select **Show "hide banner" cross**. Then set its **Position** (top right or top left), **Background**, **Corner radius**, and **Icon color**.

A user who hides the banner doesn't see it again until the campaign ends. For a campaign without an end date, the banner stays hidden for 90 days.

<img src="/in-apps-send-inline-in-apps-5.webp" alt="Display settings dialog with Open deeplink selected, the deeplink grocerygo://deals/delivery entered, and the hide banner cross turned on" width="624"/>

These settings work in the iOS and Android apps. Click **Apply**, then **Save**, and go back to the wizard with the back arrow.

### Choose the audience

On the **Audience** step, choose who sees the banner:

* **All users:** everyone who opens a screen with the slot.
* **Users matching filters:** turn on **Match users by behavior**, **Use existing segment**, or **Use custom conditions**, and set the filters.

Pushwoosh checks the audience every time the app asks for the slot's banner. Users who join the segment after the launch start seeing the banner too.

<img src="/in-apps-send-inline-in-apps-6.webp" alt="Audience step with the All users and Users matching filters options, Users matching filters selected" width="655"/>

### Place the banner in a slot

On the **Settings** step, under **Where to display the banner?**:

1. In **All platforms slot ID**, enter the slot ID from your developers, or pick it from the list. The list shows the slot IDs that your app has asked for in the last 90 days.
2. In **Priority**, select **High**, **Medium**, or **Low**. Priority decides which campaign a user sees when several active campaigns use the same slot.
3. Optionally, in **Cancel event**, select an event. When a user performs this event, the banner is hidden for them the same way as with the "hide banner" cross. For example, hide a "Complete your profile" banner on `ProfileCompleted`.

<img src="/in-apps-send-inline-in-apps-7.webp" alt="Where to display the banner section with home_promo in All platforms slot ID, Medium priority, and an empty Cancel event field" width="655"/>

If other campaigns already use this slot, the **Other campaigns on this slot** table appears under **Priority**. It lists them in the order a user in all their audiences would get them, with your campaign marked **This campaign**. If a campaign with a higher priority is in the table, users in its audience see it instead of yours. To show yours first, raise its priority.

Then set the schedule under **When to start and to end displaying?**:

* **Start campaign:** **Immediately**, or **On chosen date**.
* **End campaign:** **Never**, or **After chosen date**. When you pick a date, also set **Timezone for campaign schedule**.

Below the schedule, set **Frequency capping**. It limits how often one user can be shown marketing banners.

### Review and launch

On the **Review** step, check the content, audience, slot ID, priority, and schedule. Click **Change options** next to a section to go back to it.

Click **Complete** and select **Launch campaign** or **Save as draft**. Enter a **Campaign name** and click **Launch** or **Save**.

The campaign appears in the **In-app campaigns** list together with your instant in-apps. Under the name of an inline campaign, the list shows **Inline** and its slot ID.

<img src="/in-apps-send-inline-in-apps-8.webp" alt="In-app campaigns list with the Weekend free delivery — home banner draft, Inline and home_promo highlighted under the name"/>

After the launch, users get the banner the next time their app asks for the slot: at the start of their next session, or when a slot the app hasn't asked for before appears on screen.