Skip to content

Banner Customization

Customize the GoPayLocal banner appearance, message, colors, and behavior.

All banner customization is done in the GoPayLocal dashboard under your campaign settings. Changes take effect immediately — no code changes needed.

The banner message supports placeholders that are replaced with real values at render time:

PlaceholderDescriptionExample Value
{{country}}ISO country codeIN
{{countryName}}Full country nameIndia
{{discount}}Discount percentage with %30%
{{code}}Coupon codePPP-INDIA-30
{{currencySymbol}}Local currency symbol
{{currencyCode}}Local currency codeINR

Default template:

Hey! It looks like you're visiting from {{countryName}}.
We support Purchasing Power Parity! Use code {{code}} for {{discount}} off.

Custom example:

{{countryName}} pricing available! Get {{discount}} off with code {{code}}.

Customize the banner’s color scheme to match your brand:

PropertyDefaultDescription
Background color#1a1a2eBanner background
Text color#ffffffMessage text color
CTA button color#e94560Copy-code button background
CTA text color#ffffffCopy-code button text

Example: Blue theme

Background: #1e3a5f
Text: #ffffff
CTA: #4fc3f7
CTA text: #1e3a5f

Example: Green theme

Background: #1b4332
Text: #ffffff
CTA: #52b788
CTA text: #1b4332

The CTA (call-to-action) button copies the coupon code to the visitor’s clipboard.

SettingDefaultDescription
CTA textCopy CodeButton label
Copied textCopied!Text shown after successful copy (auto-reverts after 2s)

When auto-apply mode is enabled, the CTA button can link directly to checkout instead of copying a code.

SettingDefaultDescription
Show flagtrueDisplay the country flag emoji next to the banner message

The flag is rendered as a native emoji (e.g., 🇮🇳 for India), so it works across all platforms and browsers.

SettingDefaultDescription
Show close buttontrueAllow visitors to dismiss the banner

When dismissed, the banner is removed from the DOM. It does not reappear on subsequent page loads within the same session (tracked via sessionStorage).

All of these settings are configured in your GoPayLocal dashboard:

  1. Navigate to app.gopaylocal.com
  2. Select your Product
  3. Open the Campaign settings
  4. Scroll to the Banner section
  5. Customize colors, message, position, and behavior
  6. Click Save — changes propagate to the edge in under 5 seconds

The dashboard includes a live preview of your banner with sample data, so you can see exactly how it will look before publishing.