Steps

  1. Go to our Free Cookie Consent Solution page to start creating the Cookie Consent code.

  2. Choose your preference for consent.

  3. Enter the name of your website.

  4. If you have a Privacy Policy, include a link to your Privacy Policy.

    If you do not have a Privacy Policy, you can use our Privacy Policy Generator and create it within minutes.

    Once you have the Privacy Policy created by TermsFeed, click Copy from the Link to your Privacy Policy section to copy the URL.

  5. At Step 3, add a name for the script you're adding. In this case, "Google Analytics."

    Step 3 is optional, but it's a useful step that you can use to convert your <script> tags into <script> tags that the Cookie Consent needs to work properly (ie. it adds the type="text/plain" and data-cookie-consent="tracking" parameters to the tag).

  6. Select the type of script. In the case of Google Analytics, select Tracking.

  7. Go to your Google Analytics account copy the tracking code under Installation instructions.

  8. Go back to the Free Cookie Consent. Paste the code in the box and click the Add this script button.

  9. The Google Analytics script is now added and it's converted to work with the Free Cookie Consent.

  10. Done. You've created your Cookie Consent Notice Banner. Copy the generated code.

In the example below, we'll use a website powered by WordPress. If your website uses a different CMS, the steps remain relatively the same: edit your theme/website and add the generated code in the footer section of all your webpages, usually before the </body> tag.

  1. Go to your website. If you use WordPress, go to Appearance and click on Theme File Editor.

  2. In the Edit Themes section from Theme files on the right side, choose footer.php.

  3. Scroll down up to the </body>. Before this HTML tag, paste the generated code of the Cookie Consent.

  4. Click on Update file.

  5. Done!

The Cookie Consent Notice Banner will be displayed on your website with the Google Analytics code integrated (ie. it will load based on the consent preference selected).