The floating button appears on your storefront after a visitor closes your Alia popup, giving them a way to reopen it at any time. If you feel the button is disrupting your storefront experience. Rather than removing it altogether, you can choose to hide it on specific pages where it gets in the way.
Step 1: Open your campaign in the Alia editor
Head to the campaigns section in your Alia dashboard and select the campaign whose floating button you want to configure. Once inside the campaign, you'll see the popup editor with the Floating button tab in the top navigation. Click on it to open the floating button editor.
Step 2: Add a Prism element to the floating button
To control when the floating button is shown, you need to wrap it inside a Prism element. Prism is a conditional container in Alia that lets you set display rules for any element nested inside it.
In the floating button editor, click the + icon next to the Floating button section to add a new element. From the element picker, select Prism under the content section.
Once the Prism element is added, drag the Mystery Discount button (or whatever your floating button is named) so it becomes a child element nested inside the Prism. Make sure the floating button is a child of Prism, not a sibling. If it's at the same level, the conditions won't be applicable.
The structure should look like this:
Step 3: Set the "Is not on page(s)" condition
With the floating button nested inside Prism, click on the floating button. You'll see a "Show this child if" conditions panel on the top right of your editor, where you can define the rules for when the floating button is visible.
To hide the button on specific pages:
Click + Add a condition.
Select Is not on page(s) as the condition type.
Choose how to specify the pages, either By path only (e.g. /products/123) or By full URL (e.g. https://www.example.com/products/123).
Enter the URLs of the pages where you want the floating button to be hidden.
Once your conditions are saved, the floating button will only appear on pages that don't match the URLs you've listed. On any matching page, like a product page for example, it will be hidden automatically.




