> For the complete documentation index, see [llms.txt](https://help.smartico.ai/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smartico.ai/welcome/products/vibe-studio/promotions.md).

# Promotions

A **Promotion** is a time-boxed, personalized campaign page built for **retention** - a page that revolves around one offer, like a weekend tournament, a December raffle, a jackpot, or a clan championship. You spin one up per promotion, drive your existing players to it, and retire it when the offer ends.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-28e599a5a20274589b99f142262d94a21817bdeb%2FSmartico.ai%20-%20Promotions%202026-06-29%2021-51-31.png?alt=media" alt=""><figcaption><p>MatchX promotion page</p></figcaption></figure></div>

{% hint style="info" icon="bell" %}
**Check examples of the widgets, landings, promotions, and custom games on** [**https://smartico.dev**](https://smartico.dev/)
{% endhint %}

### When to use a promotion

**Use a** promotion for a **specific, dated offer aimed at players who already have accounts**. It is the page you link from a campaign - the destination behind a "Join the weekend tournament" push or email.

### How a promotion identifies the player

A promotion is a standalone page on a Smartico-managed domain. Because it shows personalized data (the player's rank, points, progress), it has to know **which player** is viewing it. That comes from parameters on the page URL. When you drive a player to the page, the link can carry:

| Parameter                    | What it is                                                                                                                                                                        |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `_smartico_label_public_key` | Your label's public key (identifies your program). Optional: the published page has it built in.                                                                                  |
| `_smartico_brand_public_key` | The brand's public key. Optional: the published page has the brand you chose when publishing. A key in the link wins.                                                             |
| `_smartico_user_ext_id`      | The player's external user id (who is viewing).                                                                                                                                   |
| `_smartico_user_hash`        | A time-limited security hash, when your label [uses hash protection](https://help.smartico.ai/welcome/products/vibe-studio/navigating-players-to-promotion-and-landing-pages.md). |
| `_smartico_language`         | The language to render.                                                                                                                                                           |

The player is already recognized, and the page shows their live data.

**Note:** you don't need to put the `_smartico_label_public_key` and `_smartico_brand_public_key` in the code (templates with the Smartico SDK). When you publish, Vibe Studio builds your label key and the brand you choose into the page. A key passed in the URL (or set in the page code) still wins over them, so you can still pass them in the URL, for example to send players of another brand. Only if you must fix the keys in the code, set them on the window object right above `%SMARTICO_INIT_SCRIPT%` in `index.html` - see [Navigating players to Promotion and Landing pages](https://help.smartico.ai/welcome/products/vibe-studio/navigating-players-to-promotion-and-landing-pages.md).

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-724d281add6d0d58a887faf47af796456d202838%2Fc91518f49a-publish-promo-b998c72d-3aab4a.png?alt=media" alt=""><figcaption><p>Publish this promotion?: the page is built for the brand shown here. On a label with several brands you choose the brand. The label and brand keys are built into the page.</p></figcaption></figure></div>

{% code title="Only if you must fix your label and brand keys in the code (not needed in most cases):" expandable="true" %}

```html
  <script>
    window._smartico_label_public_key = 'your label key';
    window._smartico_brand_public_key = 'your brand key';
  </script>
```

{% endcode %}

### Publishing (step by step)

* **Create.** Go to **Vibe Studio → Promotions** and click **Create**. Pick a template, enter a name, choose the **Domain** (and a sub-domain if you use your own domain) and click **Use this template**. On the promotion's page, click **Open for Editing** to open the Studio.
* **Publish.** Click **Publish** in the toolbar, then click **Publish** in the **Publish this promotion?** dialog. If your label has several brands, first choose one in **Which brand is this page for?**. On success, the **Page link** popup ("Get link") opens with the public URL on the CDN.
* **Copy the URL.** The popup gives you a ready-to-test link. It carries the label/brand keys plus your **preview user**, so you can open it as-is to check the page.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-5299f9bc2d7f4da7f0b8a1bf53d6b9664a3c4741%2FMulti-Masters%20%5C%20smartico.ai%20%40%20EU2%202026-06-29%2022-13-00.png?alt=media" alt=""><figcaption></figcaption></figure></div>

* **Go to production.** The preview user is for testing only. For real traffic, keep the label/brand keys, but replace `_smartico_user_ext_id` (and `_smartico_user_hash`) with the **real logged-in player's** values. In practice, you don't build links by hand - you drive players from a **campaign** that personalizes the link per recipient (push, inbox, email, or an on-site CTA). Vibe Studio gives you the base URL and the parameter names; the campaign fills in the values for each player.

{% hint style="info" %}
Read a detailed guide about [navigating users to Promotions and Landings](https://help.smartico.ai/welcome/products/vibe-studio/navigating-players-to-promotion-and-landing-pages.md)
{% endhint %}

### Where the keys come from

You don't enter keys in Vibe Studio - it resolves them and shows them in the Page link popup so you know what the published page expects:

* **Label public key** - your label's Smartico public key (the same one your site uses for `_smartico.init`).
* **Brand public key** - each brand under your label has its own, managed in your brand settings. When you publish, you choose the brand the page is for.
* **User ext id / user hash** - the player's identifier and its [security hash](https://help.smartico.ai/welcome/products/vibe-studio/navigating-players-to-promotion-and-landing-pages.md), supplied per player by your campaign at send time.

### If the promotion is about one specific thing

Many promotion templates are built around a single entity - one tournament, one raffle, one jackpot. Those declare an **extra field**: a toolbar picker where you choose which entity the page is about.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-935209db23b717711742e9cd633f479d5a84fb0e%2FMulti-Masters%20%5C%20smartico.ai%20%40%20EU2%202026-06-29%2022-33-30.png?alt=media" alt=""><figcaption></figcaption></figure></div>

For the production usage, you can either pass the 'id' in the URL, e.g., `'&id=152'` or fix it in the `index.html`

### Translating a promotion

Ask the assistant to translate (or run `/translate`), then preview each language.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-b91983352a594242d7483947178dd1c24fccd065%2FMulti-Masters%20%5C%20smartico.ai%20%40%20EU2%202026-06-29%2022-42-20.png?alt=media" alt=""><figcaption></figcaption></figure></div>

Then select the language to preview your page

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-8afbd880c02f6b6972f0848c8006bdc790d8f5b2%2FMulti-Masters%20%5C%20smartico.ai%20%40%20EU2%202026-06-29%2022-38-07.png?alt=media" alt=""><figcaption></figcaption></figure></div>

Note the split: the **mechanic's own content** (mission and tournament names) is translated in the Back Office, on the mechanic's management screen; the **page's own text** (headings, labels, CTAs) is translated here in the Studio. See [Vibe Studio Interface](https://help.smartico.ai/welcome/products/vibe-studio/vibe-studio-interface.md).

### Examples to ask the assistant for

* "A weekend slots tournament page: hero with the prize pool and a countdown to Sunday 23:59, a live leaderboard, my current rank and points, and the full prize breakdown."
* "A raffle page showing my tickets, the draw time with a countdown, the prizes, and how to earn more tickets."

### FAQ

**How do players arrive logged in?** The link carries the keys that identify the player. You don't manage that by hand - your campaign personalizes the link per player; just publish and share the base URL.

**Can I serve it from my own domain?** Yes - promotions and landings can live on a custom domain you delegate to Smartico (e.g. `tournament.mycasino.com`). See [Custom domains for landings & promotions](https://help.smartico.ai/welcome/products/vibe-studio/custom-domains-for-landings-and-promotions.md). The default test domain is not for production: content there can be removed at any time.

**The page loads but shows no personalized data.** The URL is missing the player parameters (or the hash has expired). Check that your campaign appends `_smartico_user_ext_id` (and `_smartico_user_hash` if your label uses it). The label/brand keys are optional: the published page has them built in.

***


---

# 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://help.smartico.ai/welcome/products/vibe-studio/promotions.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.
