Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
Signed-off-by: isamrish <askmaurya48@gmail.com>
  • Loading branch information
isamrish committed Feb 25, 2020
1 parent 16ac87f commit e0670f5
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
# gatsby-plugin-google-adsense
<h1 align="center">
<strong>gatsby-plugin-google-adsense</strong>
</h1>

<p align="center">
Add Google Adsense to your Gatsby site.
</p>

## Install

`npm install --save @isamrish/gatsby-plugin-google-adsense`
```
npm install @isamrish/gatsby-plugin-google-adsense
```

or

```
yarn add @isamrish/gatsby-plugin-google-adsense
```

## How to use
## Usage in Gatsby website

```javascript
// In your gatsby-config.js
Expand All @@ -31,4 +43,4 @@ Here you place your Google Adsense tracking id.

### `head`

Here you can define where to place the tracking script. With `head:true` it will placed in the header, with `head:false` it will placed in the body. Defaults to `false`.
Here you can define where to place the tracking script. With `head:true` it will placed in the header, with `head:false` it will placed in the body. Default is `false`.

0 comments on commit e0670f5

Please sign in to comment.