How To
Documentation
    Learn More

      track:query

      Description

      Usage

      as element:
      <track:query
             [var="{string}"]
             [host="{string}"]
             [page-title="{string}"]
             [path="{string}"]
             [query="{string}"]>
      </track:query>

      Directive info

      • This directive creates new scope.

      Parameters

      ParamTypeDetails
      var
      (optional)
      string

      The variable to assign the query to. Default:'queryToken'

      host
      (optional)
      string

      Endpoint where the twigkit instance is to send the data to.

      page-title
      (optional)
      string

      Title of the page where the query is sent to. (Defaults to current page title).

      path
      (optional)
      string

      Relative path of the page where the query is sent to. (Defaults to current url).

      query
      (optional)
      string

      The name of the query to send to the server, defaults to parameters in the url if no query is entered.