Define business requirements

When determining what data to collect, it is easy to say “everything”, however that can quickly become unwieldy to manage, and can even provide less value than collecting more concise amounts of data.

  1. Determine your Key Performance Indicators. What do you ultimately want visitors to do? The answer to this question varies by industry and vertical, and can be multiple things. Examples include purchases, registrations, or ad clicks.

  2. Figure out the most important data to collect. Ask business questions that you want specific answers to. Answers to these questions would provide insight on how to improve your KPI’s.

  3. Take those questions and determine what your tracking needs are. Group them into dimensions and metrics.

    • Dimensions are variables that contain text. Examples would include internal search term, product category, or the name of an area a visitor clicked.
    • Metrics are specific events that you want a visitor to do - when they perform an action you want, the number goes up by one. Examples would include submitting an order, subscribing to a newsletter, or submitting a survey response.
  4. Map dimensions and metrics into a page or spreadsheet. This page or table ultimately becomes your solution design document. Some helpful columns or bullet points to include:

    • Implementation status: Planned, active, inactive, issues, etc. This would inform the viewers of the document the variable’s status, if it’s been implemented, or if there are issues with data collection.
    • Variable name: For example, “Internal search terms”. This value would be what analysts see when working within Analytics.
    • Analytics variable mapped to: Which default or custom Analytics variable you choose to assign values to. Dimensions typically fall under eVars, while metrics fall under events.
    • Logic: A description of how the variable is set, and what determines its value. For example, “Only set on internal search pages. Takes the value of the q query string parameter.”
    • Any other notes that you would like to include pertaining to the variable