Analytics

   MaestroThe UI design product.  |   Form Builder |   21.11 This feature was updated in 21.11.

Maestro allows you to add Analytics properties to a Maestro form using Form Options. You usually do this after you have updated the form's standard page tracking configuration in Manager.

Maestro has limited support for GTMGoogle Tag Manager (GTM) is a tag management system (TMS) that allows you to quickly and easily update tracking codes and related code fragments collectively known as tags on your website or mobile app., so it only checks for window.gtag or window.ga presence in the Page Controller and a Modal Page (when it is visible). For more information, see how to add Google Tag Manager in a Maestro form. However, Maestro is fully integrated with the Journey Analytics module where it send all analytics events t.

To add Analytics properties using the Form Options:

  1. Open a Maestro form and select Form Options.
  2. Select Analytics > Google Analytics Tracking ID and enter the Google Analytics Tracking ID.  |  21.11 This feature was removed in 21.11
  3. Select Analytics > Google Analytics Base URL and enter the Google Analytics Base URL, which is used to tag an event in GMT within a Page Controller and a Modal Page. The example of the GA script is shown below:
    // Google Analytics - Page Tracking can add GA to the global window scope
    if (!!window.gtag) {
    	gtag('event', 'page_view', {
    		page_title: newPage.label,
    		page_path: baseUrl + newPage.id
    	});
    } else if (!!window.ga) {
    	ga("set", {
    		page: baseUrl + newPage.id,
    		title: newPage.label
    	});
    	ga("send", "pageview");
    }

Next, learn how to configure form accessibility.