Can I add users to an audience when a user clicks a button?

The desired result can be easily achieved by adding a parameter to the URL that the button directs users to.

  1. Create a trigger with a Page URL condition:
    If: Page URL > Contains >; Then: Your dynamic content (if desired)
  2. Toggle the audience section, located below the condition, and check the relevant “Add to audience” checkbox.
  3. Paste the trigger’s shortcode on the page/s users are redirected to after clicking the button.

If your button is displayed on several different pages (on your header, footer, pop-up, etc.), and you wish the button to reload the same page, you can set its link value to be ?audience=type-1