MetaLocator allows you to track searches, clicks and other interactions on a per location and per Interface basis.  This guide explores the various methods for reporting usage in MetaLocator.  MetaLocator allows for tracking using our internal analytics, which is enabled by default, Google Analytics and Google Tag Manager.  To enable tracking for Google Analytics, check out this tutorial.  To view the internal analytics, click Analytics > Analytics in the MetaLocator dashboard.

For a complete list of all analytics tracked, see Piwik's documentation.

Segmenting by Interface

Our internal analytics, Google Analytics and most third-party analytics packages allow for the creation of segments.  Segments filter the entire analytics database by a particular variable in order to provide a specific view on your data.  A common segment is to filter activity based on a given Interface.  The approach can vary by Interface configuration, but a reliable method is to create a segment based on the Interface's ID number in the URL.  Every request, except the Location Landing Pages, includes this Itemid parameter which uniquely identifies the Interface.  The Itemid can be found next to the Interface name, as shown here:

Once you have the Itemid, a segment can be built in the Internal analytics.  A segment that includes both the Interface behavior and the SEO Landing Pages can look like this:

Notice we have filtered the data based on the &Itemid=<Interface ID Number> and we are also including links that start with the hostname we chose for this interface, "publicdemo".  This filters the entire report to only activity that occurred in the Interface and the Location Landing Pages associated with that Interface.

The same type of segment can be built in Google Analytics.  This segment shows the same filter by interface using the method above.

Counting Searches by Interface

The above segment gives us all page loads, searches and similar activity occurring in a given interface.  However, we may want to identify search activity in the interface.  Every time a user clicks "Submit" on the search form, MetaLocator includes the "&task=search_zip" in the URL.  Leveraging this consistent behavior, we can count searches as shown in the segment below:

Consider that these are explicit search events where the user clicked search, however; a user can sometimes obtain results without clicking search.  A common Interface setup is to "AutoFind" the user and display relevant results.  In this scenario, the user may see the relevant results without searching.  If the only actions are clicks to the Details page or OpenMarkerWindow events, that may indicate that the user found what they were looking for.

Other search options appear in the URL as documented in this post.  This method can be used to build segments by Category, state, country and even custom fields.

Segmenting by Category

You can also build segments based on the category in the URL.  When the user clicks "Search", the URL includes the categories selected as a parameter such as:

tags[]=10

This means the search included the selection of the category with ID = 10.  You can obtain category IDs by looking in the ID column under Categories.

Tracking Location Impressions

When a location is displayed in the search results, you may want to track that as a separate event.  These events don't indicate any user interaction, but are often referred to "Impressions".  This article describes how to track impressions as custom events in Google Analytics.  MetaLocator does not track impressions by default due to the high performance overhead.

https://www.metalocator.com/tracking-location-impressions-in-google-analytics/

Custom Events in Tag Manager

MetaLocator tracks most basic events of interest, including page views, link clicks and more.  However, some customers want to track specific events that are relevant to their business application.  For example, a customer may want to track every time a user clicks on the email address field in MetaLocator.  For these types of custom tracking requirements, we recommend integrating Google Analytics via Google Tag Manager.  Tag Manager allows you to build custom triggers, which in turn can create custom events within Google Analytics.  These triggers can be based on page views, clicks and more.

Tracking events in Google Tag Manager is an advanced topic, and may require the assistance of an Analytics Expert, or MetaLocator staff.

In this example, we explore triggering a custom event in Google Analytics via Google Tag Manager for the purpose of tracking clicks on the "Get Directions" link.

First, create a new Trigger to initiate the tracking event.  This trigger will be a link click.  Here we choose the Click Link trigger type.

We can limit these events to only "Directions" clicks by filtering the Click Text to "Directions" as shown below.

Now that we have a properly configured trigger, we can create a Google Analytics Event to track the clicks.  Create a new tag of the "Google Analytics" type.  Enter your GA ID, and event configuration.  Your event configuration will vary based on your reporting needs.  These are only examples and should reflect the structure of your overall reporting goals.

Also, if we considered Directions clicks to be conversion goals, we could also configure an event goal in Google Analytics.

Events

MetaLocator triggers a series of locator-specific events based on user activity.  Events are published to our Internal analytics, and optionally Google Analytics.  Google Tag Manager can also be used to trigger custom events.  Piwik, the platform used by MetaLocator does not provide for segmentation of events based on the page they occurred.  This prevents segmentation of Event data by Interface using the methods above in the internal analytics.  Google Analytics does allow this type of segmentation.  The following are the events tracked in MetaLocator:

  • OpenMarkerWindow Occurs when the map marker popup window opens.  
  • getDirections Occurs when a user clicks GetDirections using Internal Directions 
  • Details Occurs when a user clicks to open the details link as shown by the {details} tag. 
  • Click Triggered for every link in the locator designated with the data-conversion attribute.  These conversions are tracked in internal analytics only. 
  • Conversions Click InnerText of the link HREF of the link 
  • Search Occurs when a user clicks Search when a {zipform} tag is present in the Search Form. 
  • DetailPage Occurs when a user loads a location landing page.  Tracked in Google Analytics only.
Did this answer your question?