[ANALYTICS-300] Should use start and end date in configuration for Matomo Supplier Created: 03/Feb/21  Updated: 23/Mar/21  Resolved: 03/Mar/21

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

Type: Improvement Priority: Neutral
Reporter: Thuy To Assignee: Thuy To
Resolution: Fixed Votes: 0
Labels: VN-Analysis, VN-Implementation, VN-Testing
Remaining Estimate: 0d
Time Spent: 3d 5h 35m
Original Estimate: Not Specified

Attachments: PNG File image-2021-02-03-14-14-54-629.png     PNG File image-2021-03-04-09-48-55-977.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Documentation update required:
Yes
Date of First Response:
Epic Link: UI/UX Dash improvements
Sprint: Add-Ons 58
Story Points: 5

 Description   

Currently, Matomo supplier is using one "date" key in parameters.

Expectation: It should use "startDate" and "endDate" key in parameters the same Google and Adobe suppliers.



 Comments   
Comment by Thuy To [ 04/Mar/21 ]

Hi jlegendre

From version 1.2, we will apply start date and end date in filter configuration for Matomo data supplier.

There are some rules for date parameter in here:

  • If don't input anything for date in yaml  => default value is last7.  
  • If startDate and endDate in the filter are empty => date parameter will get the value from matomoSupplier yaml
  • If startDate and endDate in the filter are not empty => date value is range between startDate and endDate

          Example: startDate: 2021-03-01 and endDate: 2021-03-04 => date: 2021-03-01,2021-03-04

  • If startDate is not empty and endDate is empty in the filter => date value is startDate and startDate

          Example: startDate: 2021-03-01 and endDate:       => date: 2021-03-01,2021-03-01

  • If startDate is empty and endDate is not empty in the filter => date value is endDate and endDate

          Example: startDate:    and endDate: 2021-03-04      => date: 2021-03-04,2021-03-04

Please feel free to contact me if you have any question.

Thank you :bow:

 

Comment by Thuy To [ 23/Mar/21 ]

Hi jlegendre,

This configuration is applied for the filters that can be defined for the dashboard, it doesn't affect the time range of the data available in the analytics app.

After users have added widgets to the dashboard successfully, the dashboard will reload the data with the time range that is selected in filters.

I'm willing to help you.

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