---
updatedAt: 2025-11-11T02:47:01.000Z
agentTools:
  projectIndex: https://docs.webengage.com/llms.txt
---

# In-app Messaging

While [creating In-app Campaigns](https://knowledgebase.webengage.com/docs/creating-in-app-campaigns#section-step-2-specify-when-to-show-which-screen-to-show-on-how-many-times-to-show), you can specify multiple conditions, on the occurrence of which, the in-app message must be displayed for a user. You can choose to display the message on a specific screen in your app by tagging it with a *[Screen Name](in-app#section-tagging-app-screens-with-screen-name)* or tracking *[Screen Data](in-app#section-tracking-screen-data)* for it.

> 🚧 Before continuing, please ensure that you have [added the WebEngage SDK to your app](react-native).

## Message Placement

Screens are mobile equivalent of web pages which can have associated properties. WebEngage SDK allows you to tag whenever a user sees a screen in your React Native app pages. These tags allow you to pinpoint screens in your app where you would later render in-app messages using WebEngage dashboard. A React Native app can have multiple screens and vice versa is also possible. Note that screens are only usable for targeting in-app engagements.

Every screen can be associated with some contextual data, which can be part of the targeting rule for in-app messages. Your app can update the data associated with a screen using `webengage.screen` as shown below.

`webengage.screen` accepts two parameters: Screen Name (`String`) and Screen Data (`Object`). You can call `webengage.screen` with either both screen name and screen data as parameters or any one of these.

```javascript
webengage.screen("Purchase Screen", {
    "productId": "~hs7674",
    "price" : 1200
});
```

> 🚧 `webengage.screen` informs WebEngage SDK that the user has navigated to a new screen. Any previously set screen data is lost.

Please feel free to drop in a few lines at *<support@webengage.com>* in case you have any further queries. We're always just an email away!