Skip to content

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

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published