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)stringThe variable to assign the query to. Default:‘queryToken’
host (optional)stringEndpoint where the twigkit instance is to send the data to.
page-title (optional)stringTitle of the page where the query is sent to. (Defaults to current page title).
path (optional)stringRelative path of the page where the query is sent to. (Defaults to current URL).
query (optional)stringThe name of the query to send to the server, defaults to parameters in the URL if no query is entered.