Define the Query Code

This topic assumes that you have already created the Analytics Query (see Create a Query for details).

To define the code for your Analytics Query:

  1. Select Analytics from the top navigation bar, then select Settings > Queries from the side navigation menu. The Analytics Queries screen is displayed.

  2. Optionally, search for and select the desired Query (see Search for a Query Search for a Query more information on the available search options). The Query Details screen is displayed, with the Definition tab selected.

  1. Within the Query String section, click Edit. The code field is displayed as an editable code editor.

  1. Optionally, from the Execution Type drop-down menu, select a different Execution Type.

  2. Enter or modify the code within the code editor.

  3. Click Save.