title: Catching parameters in redirect with Gatsby.js
body: <p>I have one quick and dirt question.</p>
  <p>Is it possible to catch a query parameter from a server redirect inside of Gatsby.js application?</p>
  <p>We have a Pardot tracking link that does redirect to our thank you page which is built in Gatsby.js and I want to pass some query parameters to the application it self from that redirect.</p>
  <p>So for example:</p>
  <pre><code>www.trackedlink.com/thank-you?programme_code=CODE_FROM_REDIRECT_ON_SERVERSIDE
  </code></pre>
  <p>will redirect to:</p>
  <pre><code>www.gatsbyapplicationthatwillreadthequery.com/thank-you?programme_code=CODE_FROM_REDIRECT_ON_SERVERSIDE
  </code></pre>
  <p>Is it possible to read that query inside of the application if it's coming from the outside of the app?</p>
  <p>Cheers and have a great week!</p>