icon Accept Alert
Created by Orckestra

How to show an accept alert on a website

To show visitors on the website an alert that stores a cookie when accepted:

  1. Edit a page.
  2. Insert the Composite.Web.Html.AcceptAlert function ( Insert | Function) or add the following code:
    Expand code
  3. Set these parameters:
    1. Content: The content to show in the alert.
    2. ButtonText: [optional] The text to show on the accept button. "OK" by default.

Note. The steps above are meant for the alert to appear on a single page. To use the alert across the website, add the function to page templates.