Tag attributes

The behaviour of the script tag is configured via several attributes.

  • Developer

What are tag attributes?

The behaviour of the script tag is configured via several attributes. Who can do this: Developer. Open the tag copied from the Sites screen. Add the required attributes below to the <script> tag and reload the page. The process is completed in 2 steps.

  • data-site: site key (required). This comes pre-filled in the tag on the Sites screen.
  • data-view: changes the default view of the window for this page: bottom-right, bottom-left, side-panel, full-screen. The view selected by the visitor overrides this.
  • data-hidden-mode="1": shows the bubble only to the person opening the test address.
  • data-hidden-parameter: name of the test parameter in hidden mode (default so_test).
  • async: allows the tag not to wait for the page to load; do not remove.

Steps

  1. Open the tag copied from the Sites screen.

  2. Add the required attributes below to the <script> tag and reload the page.

Related pages