Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)