@artevelde-uas/canvas-lms-google-analytics-plugin

0.3.0 • Public • Published

Canvas LMS Google Analytics Plug-in

Plugin for the Canvas LMS theme app that adds the Google Analytics scripts to Canvas by providing the tracking id.

NPM version License Downloads PRs Welcome

Installation

Using NPM:

npm install @artevelde-uas/canvas-lms-google-analytics-plugin

Using Yarn:

yarn add @artevelde-uas/canvas-lms-google-analytics-plugin

Usage

Just import the plug-in and add it to the Canvas app:

import canvas from '@artevelde-uas/canvas-lms-app';
import googleAnalyticsPlugin from '@artevelde-uas/canvas-lms-google-analytics-plugin';

canvas.addPlugin(googleAnalyticsPlugin, {
    trackingId: 'UA-123456789-0'
});

canvas.run();

Readme

Keywords

Package Sidebar

Install

npm i @artevelde-uas/canvas-lms-google-analytics-plugin

Weekly Downloads

1

Version

0.3.0

License

ISC

Unpacked Size

3.47 kB

Total Files

4

Last publish

Collaborators

  • digitaalleren
  • renaatdemuynck