0.0.13 • Published 2 years ago

gatsby-plugin-google-analytics-gtag v0.0.13

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

gatsby-plugin-google-analytics-gtag

npm

Gatsby plugin to add Google Analytics support to your site leveraging Google's gtag.js library.

The main difference with the official Gatsby plugins is that this one doesn't use cookies to track visitors.

Usage

plugins: [
  {
    resolve: 'gatsby-plugin-google-analytics-gtag',
    options: {
      trackingId: 'UA-YOURIDHERE-1',
      enableSessionStorage: true,
      consentMode: 'granted'
    }
  },
]
OptionDescriptionValues
constentModeAllows to specify the default consent optionsdenied or granted
0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.9

2 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago