插件版块稳定版

Analytics

block_analyticsEnovation Dev Team

  • Moodle 1.9–5.1
  • 更新 2025-05-06

The block_analytics plugin is a custom block that allows users to embed Metabase dashboards within Custom Pages. It is designed to enable the integration of analyses while ensuring data security and appropriate user permissions.
The Analytics block
The block_analytics plugin is a custom block that allows users to embed Metabase dashboards within Custom Pages. It is designed to enable the integration of analyses while ensuring data security and appropriate user permissions.
Features
Embeds a Metabase dashboard within a Moodle Custom Page.
Requires specific permissions to add and view the block.
Ensures security through Moodle-side and Metabase-side authorization.
Allows configuration of dashboard settings via the block interface.
Supports URL parameters for customizing the embedded dashboard.
Dependencies
This plugin requires the local_custompage plugin to function correctly. The Custom Page functionality is not available in standard Moodle. Ensure that local_custompage is installed and configured before using block_analytics.
Installation
Place the block_analytics folder in your Moodle installation under blocks/.
Navigate to Site Administration > Plugins > Install plugins to complete the installation.
Ensure that the local_custompage plugin is installed and enabled.
Configure the site-wide Metabase settings in Site Administration > Plugins > Blocks > Analytics Block Settings.
Configuration
After installation, the plugin requires some configuration:
Metabase Site URL: The base URL of your Metabase instance ( The URL should not contains a forward slash in the end).
Metabase Secret Key: The secret key used to generate JWT tokens for embedding dashboards.

返回插件目录