Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shen-yu/gatsby-plugin-cnzz
add CNZZ Analytics to your Gatsby site.
https://github.com/shen-yu/gatsby-plugin-cnzz
analytics cnzz gatsby gatsby-plugin
Last synced: about 2 months ago
JSON representation
add CNZZ Analytics to your Gatsby site.
- Host: GitHub
- URL: https://github.com/shen-yu/gatsby-plugin-cnzz
- Owner: shen-yu
- License: mit
- Created: 2020-06-24T06:09:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T14:46:06.000Z (almost 2 years ago)
- Last Synced: 2024-09-21T13:13:52.726Z (4 months ago)
- Topics: analytics, cnzz, gatsby, gatsby-plugin
- Language: JavaScript
- Homepage:
- Size: 1.31 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gatsby-plugin-cnzz
Add CNZZ Analytics to your Gatsby site.
![npm](https://img.shields.io/npm/v/gatsby-plugin-cnzz)
![npm](https://img.shields.io/npm/dt/gatsby-plugin-cnzz)## Install
`npm install --save gatsby-plugin-cnzz`
## How to use in gatsby
```javascript
// gatsby-config.js
plugins: [
.
.
.
{
resolve: `gatsby-plugin-cnzz`,
options: {
// cnzz analytics siteId
siteId: "YOUR_CNZZ_ANALYTICS_SITE_ID",
// Put analytics script in the head instead of the body [default:false]
head: false,
},
},
.
.
.
];
```## How to get the `siteId`
![get the siteId screen shoot](tip.png)