Skip to content
Documentation
DropUI homepage
Topics

Choose what happens when a button is clicked

Should a button open a product, move to the thank-you screen or close the campaign? Its label and configured action must agree. Writing “View product” does not set the destination.

Select the button

Click the button or find it in More -> Element list. Open On click in the right panel.

Button action choices in the editor.

Choose the action, such as opening a URL, scrolling to an element, showing another campaign, closing the component or changing screens.

Complete the destination

For a URL, enter the full address and check the selected language and product variant. For a screen, select the screen already created in the project.

To open another campaign, first prepare that campaign and its trigger. The target must be available in the same store context.

Use a label that describes the outcome. A normal link does not add an item to the cart merely because the label says so.

Separate submission from navigation

A signup needs the form's submit element. A regular button that jumps to the next screen can bypass the collection of data.

Configure the success behaviour in the form settings. Do not use a screen transition as evidence that signup succeeded.

Try each path

Use Preview to click the action; clicks in editing mode select elements. Test the destination, return path and close behaviour on a phone.

After publication, check actions that depend on the store, cart or another campaign directly on the store page.

Have questions after reading this guide?

Get in touch. We’ll answer your questions and help you with setup, free of charge.

Patryk Surmacz

I’ll walk you through the settings, step by step.