title: Gatsby GDPR Cookie Banner how to implement multiple cookies + disable tracking?
body: <p>So I set up a basic cookie banner following the <code>gatsby-plugin-gdpr-cookies</code> plugin and I used <code>react-cookie-consent</code> but it only shows a simple <code>we use cookies on our website</code> with an accept button.</p>
  <ol>
  <li><p>How do I pass in both <code>google analytics</code> and <code>google tag manager</code> in my cookieconsent component? The docs only show one cookieName and I don't know how to add more than just the google analytics?</p>
  </li>
  <li><p>Also, how do I check if it actually disables cookie tracking?</p>
  </li>
  </ol>
  <p>I added the plugin to my <code>gatsby-config.js</code></p>
  <pre><code>  {
    resolve: `gatsby-plugin-gdpr-cookies`,
    options: {
      googleAnalytics: {
        trackingId: 'YOUR_GOOGLE_ANALYTICS_TRACKING_ID', // leave empty if you want to disable the tracker
        cookieName: 'gatsby-gdpr-google-analytics', // default
        anonymize: true, // default
        allowAdFeatures: false // default
      },
      googleTagManager: {
        trackingId: 'YOUR_GOOGLE_TAG_MANAGER_TRACKING_ID', // leave empty if you want to disable the tracker
        cookieName: 'gatsby-gdpr-google-tagmanager', // default
        dataLayerName: 'dataLayer', // default
      },
      facebookPixel: {
        pixelId: 'YOUR_FACEBOOK_PIXEL_ID', // leave empty if you want to disable the tracker
        cookieName: 'gatsby-gdpr-facebook-pixel', // default
      },
      // defines the environments where the tracking should be available  - default is [&quot;production&quot;]
      environments: ['production', 'development']
    },
  },
  </code></pre>
  <p>Then I added the Cookie Banner to my layout.js</p>
  <pre><code>      &lt;CookieConsent
      location=&quot;bottom&quot;
      buttonText=&quot;Accept&quot;
      declineButtonText=&quot;Decline&quot;
      cookieName=&quot;gatsby-gdpr-google-analytics&quot;
    &gt;
      This website uses cookies to enhance the user experience.
    &lt;/CookieConsent&gt;
  </code></pre>
  <p>Plus the cookie only tracks <code>gatsby-gdpr-google-analytics</code> but i need it to track <code>gatsby-gdpr-google-tagmanager</code> as well</p>