Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 9.6


Table of Contents

For a hands-on example on how to create a simple trigger based on a page URL, see Creating your first trigger. For more complex trigger use casesexamples of creating different types of triggers, see Trigger examples.

Creating a trigger


  • URL: Matches the exact URL of the page. For example:
  • Protocol: Matches the HTTP or HTTPS part of the URL.
  • Domain: Matches the part after the protocol. For example, in the URL, the domain is
  • Path: Matches the URL path after the domain. For example, in the URL, the path is /index.html.
  • Anchor: Matches any part of the URL that comes after the "#" character.
  • Query selector: Matches any part or the URL that comes after the "?" character. If the query parameter is defined, it will only match a single parameter. For example, in the URL, the complete query parameters are search=word&count=10, and the query key for search is word.


  • .


You can define an alias for a trigger. You can use the alias to bind a JavaScript function to the trigger. For example, use the following code to bind an alias named "myTriggerAlias" to a trigger: