title: How to get user agent on load function in SvelteKit
body: <p>I want to get the <code>user agent</code> on the <code>load function</code> to choose whether to perform server-side rendering or not depending on the visitor is <code>googlebot</code> or not.</p>
  <p>How can I access it inside the <code>load function</code>?</p>
  <p>I'm using the latest version of SvelteKit which is 1.0.0.</p>