Skip to content

Commit

Permalink
docs(gatsby-plugin-google-gtag): fix opt out snippet (#9819)
Browse files Browse the repository at this point in the history
<!--
  Q. Which branch should I use for my pull request?
  A. Use `master` branch (probably).

  Q. Which branch if my change is a bug fix for Gatsby v1?
  A. In this case, you should use the `v1` branch

  Q. Which branch if I'm still not sure?
  A. Use `master` branch. Ask in the PR if you're not sure and a Gatsby maintainer will be happy to help :)

  Note: We will only accept bug fixes for Gatsby v1. New features should be added to Gatsby v2.

  Learn more about contributing: https://www.gatsbyjs.org/docs/how-to-contribute/
-->
  • Loading branch information
valse authored and pieh committed Nov 8, 2018
1 parent e9d1b80 commit ada11ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-google-gtag/README.md
Expand Up @@ -105,7 +105,7 @@ document.cookie.indexOf(disableStr + "=true") > -1 && (window[disableStr] = !0)
If your visitors should be able to set an Opt-Out-Cookie (No future tracking)
you can set a link e.g. in your imprint as follows:

`<a href="javascript:gtagOptout();">Deactive Google Tracking</a>`
`<a href="javascript:gaOptout();">Deactive Google Tracking</a>`

## The "pluginConfig.respectDNT" option

Expand Down

0 comments on commit ada11ae

Please sign in to comment.