Skip to main content
All CollectionsTelegram Mini Apps
How to integrate a Rewarded Popup tag into Telegram Mini Apps
How to integrate a Rewarded Popup tag into Telegram Mini Apps
Alan K. avatar
Written by Alan K.
Updated over a month ago

Step 1: Register or sign into the Monetag platform

If you haven't got a Monetag account, feel free to create it according to this manual.


Step 2: Add your App to the Self-Service Platform

2.1. Go to the «Telegram Mini Apps» Tab in your Monetag account and press the "ADD APP" button.


2.2. Fill in general information about your Telegram App: set up its name and provide the link to your application. After filling in the info, click the "Add and Continue" Button.

Alternatively, you can click "+Create new" in the upper right corner of your Monetag dashboard.


Then select "Telegram Mini App" and click "Add new app" button.


Please be sure that the content of your Telegram Mini App does not violate Monetag Terms.

Important Note:
Please ensure you have preliminarily created a Telegram bot (via @BotFather) and the Mini App itself. Also, to work with Monetag, you should have some experience using JavaScript to manage your Telegram Mini App.

Step 3: Create an Ad Tag in the Monetag dashboard

The first tag will be created automatically once you add the App to the Monetag dashboard.
You can add many placements for the Rewarded Interstitial Tags inside one Telegram Mini App. To add the new ones, please click on "+Create new" button.


Step 4: Add an Ad Tag to your app

4.1. Copy the JS code of your ad tag from the Monetag Dashboard.


4.2. To connect your Mini App to the Monetag, place the copied script below the <head> tag of your Mini App's source code.

Step 5: Add the Rewarded Popup Tag
It is possible to maximize the profit from the Rewarded Interstitial tag by adding the Rewarded Popup tag. To do this, you may add the Rewarded Popup to your Telegram Mini App. The Telegram Mini app will show the Rewarded Interstitial and also open the Rewarded Popup in a new tab immediately.
It is recommended that this be used in conjunction with the Preload method. You can use the POP method for this purpose. Example:

show_XXX('preload').then(() => { // Ad is ready show_XXX('pop') // Open browser with an ad }).catch((error) => { // Failed to preload ad })

Also, you may set the Rewarded Popup separately without a Rewarded Interstitial Tag. You can insert the Ad tag after the <head> tag in your Telegram Mini App.
Add the command for the button inside the Telegram Mini App, and the Popunder Ad will appear.
For example:

<button onclick="show_XXXXXX('pop')">Watchads</button>

Did this answer your question?