---
title: 'Add Text to X Username'
description: 'X username text loyalty rule. Reward users for including specific text in their X username.'
keywords: ['Twitter username loyalty', 'username verification', 'social identity incentive', 'X username rewards']
---

> **For AI agents:** the complete documentation index is at [llms.txt](https://docs.snagsolutions.io/llms.txt). Append `.md` to any page URL for its markdown version.

import RewardWithMultiplierFixedAmount from '/snippets/rules/reward-with-multiplier-fixed-amount.mdx'

## Overview

This loyalty rule allows admins to reward users for posting a specific text in their X username. This rule is useful for getting more engagement on their X account.

<Frame>
  ![Snag admin add text to X username rule configuration form](https://assets.snagsolutions.io/public/docs/rules/x-text-in-username.png)
</Frame>

## Prerequisites

- The user must have connected their X account to Snag.
- The user must have a specific text in their X username and submit the claim.

## Rule Configuration Fields

<RewardWithMultiplierFixedAmount />

### Basic Settings

- **Update Cadence**: Points for this rule will be rewarded immediately on user claim after they follow the defined X account.
- **User Reward Frequency**: This defines how often the user will be rewarded. You can choose between one time, daily, weekly, or monthly.

### **Custom Settings**

- **Text to check in X Username**: This lets you define the text that the user must have in their X username.
- Skip the multiplier for this rule

<Note>
Text matching is case-insensitive and handles line breaks automatically. Both the expected text and the user's username are normalized to handle different line break formats (e.g., `\n`, `\r\n`), ensuring consistent matching regardless of how the text is formatted.
</Note>

**Call to Action (Optional)**

This will show a call to action in our loyalty rule.

- **Link**: Provide a URL for users to take further action.
- **Button Text**: Define the button label.
