title: Cookie consent - Find the code that is setting the Cookies in website
body: <p>Hi I am using OneTrust for my Cookie Consent.</p>
  <p>OneTrust gives you the option to block cookies before they are set by adding this code.</p>
  <pre><code>&lt;script type=&quot;text/plain&quot; class=&quot;optanon-category-C0002&quot;&gt;
  // code
  &lt;/script&gt;
  </code></pre>
  <p>How it works:<br />
  When the above code loads, JavaScript inside the tags will not run, and no cookies will be set. Then, when the Cookie Compliance code loads, if cookies for the associated group have consent, it will dynamically change the tag to: script type=text/JavaScript</p>
  <p><strong>My Problem:</strong><br />
  How do i find the code where the cookies are being set? (Find the file).<br />
  If i know where the cookies are set, I can add the code to block it. But i dont seem to find them.<br />
  How do you search for them?</p>
  <p>I can see in chrome all the cookie names but not sure where they are within the website.</p>
  <p>The website has a CMS (DNN, Evoq).</p>
  <p>Thanks in advance</p>