From e0670f5b217d4ff4eb04fa5d54b1008ff7e29fd4 Mon Sep 17 00:00:00 2001 From: isamrish Date: Tue, 25 Feb 2020 20:29:39 +0530 Subject: [PATCH] Update readme Signed-off-by: isamrish --- README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a248511..843c266 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,24 @@ -# gatsby-plugin-google-adsense +

+gatsby-plugin-google-adsense +

+

Add Google Adsense to your Gatsby site. +

## 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 @@ -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`.