Macros in Push Text
Macros allow you to create dynamic content in the titles and texts of push notifications. When sent, macros are automatically replaced with specific values.
Types of Macros
1. Random Selection from Options
Syntax: {option1|option2|option3}
Selects a random option from the specified texts, separated by the | character.
Examples:
{Hello|Greetings|Good day}!
→ "Hello!" or "Greetings!" or "Good day!"
{🎁|🎉|💰} Your bonus is ready!
→ "🎁 Your bonus is ready!" or "🎉 Your bonus is ready!" or "💰 Your bonus is ready!"
Player {alex_pro|winner2024|lucky_star} just won!
→ "Player winner2024 just won!"
2. Random Number in Range
Syntax: {Random=(X,Y)}
Generates a random integer in the range from X to Y (inclusive).
Examples:
Winnings: {Random=(1000,5000)}$
→ "Winnings: 3247$"
{Random=(50,200)}% bonus on the first deposit!
→ "127% bonus on the first deposit!"
{Random=(3,15)} spots left!
→ "8 spots left!"
3. Offer Data
Syntax: {offer.value} {offer.value1} {offer.value2}
Substitutes the offer data linked to the subscription from the geo settings of the offer.
Examples:
Get {offer.value} and {offer.value2} bonus!
→ "Get 100 USD and 1000 FS bonus!"
Nested Macros
Macros can be combined and nested within each other. Processing occurs from the innermost to the outermost.
Example of a complex macro:
{Claim 100% deposit bonus|Best bonuses JUST FOR YOU!|Just now player {malkevich11|alex_moz|diego99} won {Random=(15000,90000)}$!|Grab your winnings NOW!}
How it works:
-
First,
{Random=(15000,90000)}is processed →47823 -
Then
{malkevich11|alex_moz|diego99}→alex_moz -
Resulting in:
{Claim 100% bonus...|...|Just now player alex_moz won 47823$!|...} -
Finally, one of the 4 options is selected
Possible result: "Just now player alex_moz won 47823$!"
Usage Examples
Titles with Variability
{🔥|💰|🎁} {Hot offer|Urgent promotion|Don't miss}!
Social Proof
Player {lucky777|winner_pro|jackpot_king} won {Random=(10000,50000)}$!
Urgency
{Random=(2,10)} {minutes|hours} left! {Hurry up|Rush|Don't delay}!
Personalization with Offer
{Claim|Get|Take} {offer.value} {offer.value1} {bonus|to account|right now}!
Tips for Using Macros
✅ Recommendations:
-
Use 3-5 options for better variety
-
Check the length of all options (max 50 characters for title)
-
Combine different types of macros for uniqueness
-
Test results before mass sending
❌ Avoid:
-
Too deep nesting — recommended maximum 3 levels (technical limit — 10)
-
Empty options
{text||other}(double|) -
Unclosed brackets
{text without closing -
Negative numbers in
Randomif not needed
Technical Details
-
Macros are processed at the moment of sending the push notification
-
Each send generates its own random result
-
The same push can send different content to different users
-
Maximum nesting depth: 10 levels
