[ANALYTICS-326] DOC: Matomo metricsForTimeToSecondsConversion formatting Created: 18/Mar/21  Updated: 01/Apr/21  Resolved: 01/Apr/21

Status: Closed
Project: Analytics
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Julie Legendre Assignee: Julie Legendre
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: DOC Epic: Analytics V1.2
Sprint: Add-Ons 60, Content Mngmt 01
Story Points: 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


Generated at Sun Feb 11 23:17:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.