bcgov / bcbb

A collection of modules for the Drupal base build used to streamline the build and deployment of applications at Ministry of Finance.
GNU General Public License v2.0
2 stars 0 forks source link

Analytics Options Assessment and Inclusion in Base Build #21

Closed NicoledeGreef closed 1 year ago

NicoledeGreef commented 1 year ago

OP timer


This feature support the following requirements

As a business owner of a Drupal-based application I need to have access to basic site analytics so that I can assess the use of the site on demand.

Additional context

Application owners are looking for:

Proposed solution

Analysis of options, ideally native to Drupal, that can support these types of analytics. Timeline for advice and discussion: mid-August 2023

Definition of done (DoD)

Testing

CraigClark commented 1 year ago

@NicoledeGreef Drupal doesn't do any sort of analytics naively. Typically you would integrate a 3rd party tool. Google analytics is popular for public facing sites. We have set up Drupal to work with other tracking tools as well. IS there something BC uses internally already?

chrislaick commented 1 year ago

@NicoledeGreef I'm used to using Google Analytics, but research has shown me that Matomo is an on-premise alternative, where data ownership is important. There is mention of Matomo in the OpenShift tech docs:

NicoledeGreef commented 1 year ago

Google Analytics/Matomo thread: https://stackoverflow.developer.gov.bc.ca/questions/811/817#817

I notice that there is a Drupal module for Matomo as well that allows for Matomo tag management and settings changes through the Drupal Admin UI. Not sure if it is compatible with Drupal 10.

lkmorlan commented 1 year ago

Drupal module matomo advertises that it is compatible with Drupal 10.

https://www.drupal.org/project/matomo

NicoledeGreef commented 1 year ago

@lkmorlan - can you please do an assessment of the module? any red flags or concerns?

lkmorlan commented 1 year ago

The matomo Drupal module has just over 17,000 users. It has recent activity in the issue queue and in code commits. It is likely that this module works well.

CraigClark commented 1 year ago

Added to agenda for next base-build meeting #23

CraigClark commented 1 year ago

Closing as the assessment is done, how it gets added to the build will be discussed at a base-build meeting