Target by country or language
Display badges based on your visitor's country or the language they are viewing your store in.
Show badges based on where a visitor is located or which language version of your store they're browsing — useful for region-specific promotions and multilingual content.
Both settings live in the Display tab of the badge editor, as two separate sections: Language conditions and Country conditions. Each one is a switch you turn on, not a rule you add.

Country targeting
How to set up country targeting
Select the countries
Click Search country... to open the country list. Every country is listed with its ISO code — for example Vietnam (VN), South Africa (ZA) — and each has a checkbox. Type to filter the list, then tick the countries you want.
Selected countries appear as removable chips inside the field. The list stays open after each pick, so you can tick several countries in one go; remove one by clicking the × on its chip.


Country targeting use cases
Region-specific promotion
Show a "Free Shipping to US" badge only for US visitors
Local holiday sale
Display a holiday badge only in countries where the holiday applies
Compliance notice
Show a regulatory badge only in countries where it is required
Market-specific pricing badge
Display "Best Price in EU" only for European customers
Language targeting
Language targeting shows badges only when the storefront is viewed in a selected language.
How to set up language targeting
Select the languages
Click Search language... to open the language list. Languages are listed with their ISO codes — English (en), German (de), Hindi (hi) — with a checkbox each. Type to filter, then tick the languages you want.
Selected languages appear as removable chips inside the field.


Language targeting use cases
Localized promotion
Show a badge with French text only on the French version of your store
Language-specific campaign
Run a promotion visible only to Spanish-speaking customers
Translated badge content
Create separate badges for each language with matching translated text
The language list contains every ISO language, not just the ones your store publishes. Picking a language you have not published means the badge will never appear — confirm the locale is live in your Shopify Markets and Languages settings first.
Combining country and language conditions
Country and language conditions can be turned on at the same time and are saved together. They also work alongside the product scope from the Products tab. For example:
Country is "Canada" AND Language is "French"
Result: The badge appears only for visitors in Canada who are viewing the store in French.
Useful for multilingual markets like Canada, Belgium, or Switzerland.

Turning a toggle off clears the countries or languages you had selected — switching it back on gives you an empty list. Don't use the toggle to pause a rule you plan to reuse; you would have to pick everything again.
If you turned a toggle off by mistake, click Discard (next to Save) and confirm Discard changes to restore the last saved setup.
Next steps
Target by variant & metafield — Target badges based on product variants and metafield values.
Target by product attribute — Filter badges by product title, type, vendor, price, and more.
Need support?
If you run into any difficulty while following these steps, contact us at support@samita.io.
Last updated
Was this helpful?
