Learn how to install cookie consent banner and privacy policy in Lightspeed

Installation instructions for Lightspeed:

  • Step 1:

    Go to homepage of your Lightspeed website & Login with credentials.

  • Step 2:

    From your Admin panel

    • Click "Settings" button in ribbon appearing on left side of website.
  • Step 3:

    Next window will appear

    • Click "Web Extras" option in "Web Settings" list.
  • Step 4:

    New menu will open:

    • Click on "Custom JS" in sub menu of Storefront.
    • OR Scroll down to Custom JS option.
  • Step 5

    • Paste your script which you will get from seersco
    • Click on button against "Status" to enable script.
  • Step 6:

    • Click on "Save" button.
  • Step 7:

    • You will see message "Changes saved successfully!"
  • Step 8:

    Go to your website, Banner will appear.


Manually implementing prior consent:

Our script automatically blocks cookies and apply prior consent of known scripts, but if you didn’t find yours script blocked, you can block it manually: here is an example of how you can manually blocks Google Analytics script.

To enable prior consent, add attribute “data-cookieconsent” in script tags which sets cookies. You can use comma to separate the categories “preferences”, “statistics”, “necessary”, “unclassified” and “marketing” according to the type of cookies that script generates. Secondly change the attribute “type” from “text/javascript” to “text/plain”. e.g. Applying prior consent on Google Analytics: In the Header Code field, find the Google Analytics code which looks like below:


< script>  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-00000000-0', 'auto');

    ga('send', 'pageview'); < /script>

After (in bold):

< script type="text/plain" data-cookieconsent="statistics"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-00000000-0', 'auto');

    ga('send', 'pageview'); < /script>