Uploaded image for project: 'Analytics'
  1. Analytics
  2. ANALYTICS-326

DOC: Matomo metricsForTimeToSecondsConversion formatting

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None
    • Add-Ons 60, Content Mngmt 01
    • 0.5

    Description

      From Tonda in 250: This PR introduced possibility for converting time metrics to seconds for data suppliers configured with info.magnolia.analytics.matomo.datasource.MatomoDataSupplierWithTransformer class.

      Matomo returns time metrics in some cases in format like 2 days 12:34:56.789  (it means 2 days, 12 hours, 34 minutes, 56.789 seconds), part for days and decimal part for seconds can miss if they're zero(s). Matomo metrics for a such conversion can be configured in matomo/config.yaml using property metricsForTimeToSecondsConversion. By default there are configured metrics listed bellow:

      metricsForTimeToSecondsConversion:
      - avg_time_on_site_new
      - avg_time_on_site_returning
      - sum_total_time_watched}}
      - avg_time_on_site
      - avg_page_load_time
      - avg_form_time_hesitation
      - avg_form_time_spent
      - avg_form_time_to_first_submission
      - avg_form_time_to_conversion
      - avg_time_network
      - avg_time_server
      - avg_time_transfer
      - avg_time_dom_processing
      - avg_time_dom_completion
      - avg_time_on_load
      - avg_time_watched
      - avg_time_to_play

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              jlegendre Julie Legendre
              jlegendre Julie Legendre
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR