Skip to content

threenine/gridsome-plugin-gtag

Repository files navigation

Gridsome Plugin to incorporate Google Tag

How to use

Install the plugin using

npm i gridsome-plugin-gtag

Put your Google Analytics ID in you environment variables with a name similar to GOOGLE_ANALYTICS_ID.

Then add the following to you gridsome.config.js plugins array

{
    use: 'gridsome-plugin-gtag',
    options: {
        config: {
            id: process.env.GOOGLE_ANALYTICS_ID,
        },
    },
},

Developed, Sponsored and Supported

threenine logo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published