[ANALYTICS-230] (185, 226) Matomo. Build custom widget Created: 21/Sep/20  Updated: 11/Nov/20  Resolved: 06/Nov/20

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

Type: Story Priority: Neutral
Reporter: Laura Delnevo Assignee: Yen Lac Tue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 8d 7.75h
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2020-09-21 at 12.02.37.png     PNG File Screenshot 2020-09-21 at 14.51.46.png     PNG File image-2020-11-11-14-21-38-866.png     PNG File image-2020-11-11-14-22-48-167.png     PNG File image-2020-11-11-14-24-02-013.png     PNG File image-2020-11-11-14-28-18-458.png    
Issue Links:
Cloners
is cloned by ANALYTICS-234 (185, 226) GA. Build custom widget Closed
dependency
depends upon ANALYTICS-244 [Investigation] Edit Widget dialog sh... Closed
depends upon ANALYTICS-185 Add widget, custom data supplier Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* 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 49, Add-Ons 50
Story Points: 8

 Description   

When choosing the Custom Data Supplier for creating my new widget ANALYTICS-185 , I will build my new custom widget from the 'Build custom widget' dialog:

  • Data Supplier 
  • Widget name 
  • Chart type  ANALYTICS-226 
  • Data
    • Metrics
    • Dimensions
  • Add data series (button)

'Add to dashboard' button will add my new custom widget to the dashboard 

 These fields would persist from the 'Add widget' dialog ANALYTICS-185 e.g. if I chose GA and gave my widget the name: Laura test, I will expect these fields to remain populated on this dialog: GA, Laura test 



 Comments   
Comment by Yen Lac Tue [ 11/Nov/20 ]

Hi jlegendre,

For Matomo, we will get the dimensions and metrics from Matomo metadata, this data is not frequently changed so we decide to store it in our resource file and read from this file every time we process for performance improvement.

 

  • This file is named unique with a combination of serverURL-idSite

Note: if we have another dataSupplier configurate with idSite 3, system will create new metadata json file demo-matomo-org-3.json

 

  • Then we have a command and schedule a job to update this data every month

 

 

 

Thanks,

Yen Lac

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