diff --git a/source/site_ops/how-tos/matamo-analytics.rst b/source/site_ops/how-tos/matamo-analytics.rst index aa568816b..648adc350 100644 --- a/source/site_ops/how-tos/matamo-analytics.rst +++ b/source/site_ops/how-tos/matamo-analytics.rst @@ -1,5 +1,5 @@ -Configuring Matamo Analytics -############################# +Configuring Analytics +###################### In addition to Google Analytics, the Open edX platform is flexible enough to support different analytics tools. @@ -13,8 +13,37 @@ Matamo needs to be included under the head tag of the page; hence, we will use h 1. Create the head-extra.html file under {theme}/lms/templates/. 2. Add the script provided by the platform to the file. + +For example: + +.. code-block:: html + + + + + +This should be the content of html page for head-extra.html. + 3. Apply the theme, and we are good to go. -Note:: +Just like how Matamo is integrated we can use other analytics tools as well. + +.. note:: -This will only be applied to the pages served by LMS and would not be supported by different MFEs used by the platform. Hence, to introduce the same, you need to create a custom component and put it in a slot. You can have a look at the `frontend-footer-component `_. + This will only be applied to the pages served by LMS and would not be supported by different MFEs used by the platform. Hence, to introduce the same, you need to create a custom component and put it in a slot. You can have a look at the `frontend-footer-component `_.