Skip to main content

How do I show or hide the loyalty widget on specific pages?

You can control where Glow's storefront launcher appears by page path.

S
Written by Sergey Rebbe

You can control where Glow's storefront launcher appears by page path.

This is helpful if you want to hide the loyalty widget on checkout-adjacent pages, show it only on account pages, or keep it off pages where it might cover another important button.

Before you start

Make sure the Glow app embed is enabled in your Shopify theme.

Page visibility settings control where Glow is allowed to show the default storefront launcher. They do not replace the app embed, and they do not create a custom button or menu link for you.

Open the Page Visibility settings

In Glow, go to Settings > Account Settings > Widget.

Scroll to Page Visibility.

Glow Page Visibility settings showing an example hide rule for the cart page

Choose where the widget should appear

You have three options:

  • Show widget on all pages: Use this when you want the launcher available across your storefront.

  • Show widget on these pages: Use this when the launcher should appear only on the paths you enter.

  • Hide widget on these pages: Use this when the launcher should appear everywhere except the paths you enter.

Enter page paths separated by commas.

For example:

/cart, /account/login

You can also use * as a wildcard for path patterns.

For example:

/products/*

That pattern is useful if you want a rule to apply to product detail pages.

Glow checks the page path, not the full URL. Query strings such as ?utm_source=email are ignored for page visibility matching.

Save and test your storefront

After you choose a visibility option:

  1. Click Save Settings.

  2. Open the storefront page you changed.

  3. Refresh the page.

  4. Confirm the launcher appears or stays hidden as expected.

If you recently changed several storefront or widget settings, give Glow and Shopify a moment to refresh the storefront data before testing again.

Important notes

If Launcher Position is set to Hidden, the default launcher button will stay hidden on every page, even if Page Visibility is set to show the widget.

Custom launch links are separate from Page Visibility. A URL that includes launchLoyalty=1 is designed to open the widget directly, so do not use a launchLoyalty=1 URL when testing whether a page visibility rule hides the default launcher.

Embedded point-history or rewards sections are also separate from the default launcher. If you add the embedded ledger or rewards widget to a page, test those embeds separately.

Troubleshooting

The widget still appears on a page I hid

Make sure you saved the setting and refreshed the storefront page.

Also check that you entered the path correctly. For example, use /cart, not your full domain.

The widget does not appear on a page I allowed

Check whether Launcher Position is set to Hidden.

If the launcher is not hidden, confirm the Glow app embed is enabled in Shopify and the main app is enabled in Glow.

My custom rewards link still opens the widget on a hidden page

That can be expected. Page Visibility is for the default storefront launcher. Custom links, buttons, and launchLoyalty=1 links are direct ways to open the widget.

Related articles

Did this answer your question?