title: How to resolve Lighthouse's SameSite cookie issue
body: <p>I used Chrome's site audit tool, <em>Lighthouse</em>, and it has found the following issue on my site:</p>
  <p><a href="https://i.stack.imgur.com/e56M1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e56M1.png" alt="enter image description here" /></a></p>
  <ul>
  <li>Issue type: <em>SameSite cookie</em></li>
  <li><code>/tr/?id=…(www.facebook.com)</code></li>
  </ul>
  <p>How can I resolve this issue?</p>
  <h2>Update</h2>
  <p>Here is what I get in the Issues panel:</p>
  <p><strong>Screenshot</strong>
  <a href="https://i.stack.imgur.com/vcWGn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vcWGn.png" alt="enter image description here" /></a></p>
  <p><strong>Text</strong></p>
  <blockquote>
  <p>Indicate whether to send a cookie in a cross-site request by
  specifying its SameSite attribute</p>
  <p>Because a cookie’s SameSite attribute was not set or is invalid, it
  defaults to SameSite=Lax, which prevents the cookie from being sent in
  a cross-site request. This behavior protects user data from
  accidentally leaking to third parties and cross-site request forgery.</p>
  <p>Resolve this issue by updating the attributes of the cookie:</p>
  <p>-&gt; Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. This enables third-party use.</p>
  <p>-&gt; Specify SameSite=Strict or SameSite=Lax if the cookie should not be sent in cross-site requests.</p>
  <p>AFFECTED RESOURCES:
  2 cookies: Name   Domain &amp; Path
  _ga   .bootstrapcdn.com/ cppo .facebook.com/</p>
  <p>1 request</p>
  <p>?id=383112278961246&amp;ev=fb_page_view&amp;dl=https%3A%2F…rl=&amp;if=false&amp;ts=1621983787255&amp;sw=1920&amp;sh=1080&amp;at=</p>
  </blockquote>