Google Analytics is a powerful tool for measuring activity on your MetaLocator application. You must first have a Google Analytics account.
Once you have created a Google Analytics account, you will receive a UA code that uniquely identifies your account. These are show in the accounts view next to the domain name of your Web site as shown here:
Simply copy and paste that value directly into the Analytics Settings section of your desired interface, or interfaces as shown below:
If this analytics account is the same account used on the website hosting the interface, be sure to set Enable Cross-domain tracking to Yes.
Allow up to 24 hours for data from MetaLocator to appear in your Google Analytics.
In addition to visits, MetaLocator also creates custom events so you can see what locations users are clicking on and what they are searching for. See the "Events" data for details on that information.
Google Tag Manager
MetaLocator includes Google Tag Manager support. When tracking Google Analytics through Google Tag manager, add the Tag Manager code snippets in the header and footer, as instructed by Google. This method recently changed (Q4 2016) when Google introduced the two-part snippet. Place the
<script> code snippet in the Advanced > Custom Head Tag setting.
<noscript> code Advanced > Custom Open Body Tag setting.
If you are also using the same Google Analytics via Tag Manager on the Website that hosts the locator, ensure the "Enable Cross Domain Analytics via Google Tag Manager" support is enabled under your Interface Analytics settings. This ensures that the framed locator attaches analytics events through the existing tracker created on the contained page.