Nine Pounds of Mayonnaise

    This package has been deprecated

    Author message:

    Package renamed to '@artevelde-uas/canvas-lms-google-analytics-plugin'

    @ahsdile/canvas-lms-google-analytics-plugin

    0.1.1 • 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.

    Installation

    Using NPM:

    npm install @ahsdile/canvas-lms-google-analytics-plugin
    

    Using Yarn:

    yarn add @ahsdile/canvas-lms-google-analytics-plugin
    

    Usage

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

    import canvas from '@ahsdile/canvas-lms-app';
    import googleAnalyticsPlugin from '@ahsdile/canvas-lms-google-analytics-plugin';
    
    canvas.addPlugin(googleAnalyticsPlugin, {
        trackingId: 'UA-123456789-0'
    });
    
    canvas.run();

    Keywords

    Install

    npm i @ahsdile/canvas-lms-google-analytics-plugin

    DownloadsWeekly Downloads

    4

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    2.91 kB

    Total Files

    4

    Last publish

    Collaborators

    • digitaalleren
    • renaatdemuynck