Skip to main content
All CollectionsUniversal App - Settings
How to Add a Cookie Popup on Your Universal App
How to Add a Cookie Popup on Your Universal App

A step-by-step guide to add a cookie popup to your Universal App

Okka avatar
Written by Okka
Updated over a week ago

As you know that you can add custom code to be injected into all Universal App pages; in this article, you will learn how to add a cookie popup. Let's follow the steps below.

  1. Go to Settings > Custom Code on your left-hand sidebar.

  2. Add the code below in the Head code section.
    โ€‹

    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/cookie-bar/cookiebar-latest.min.js?customize=1&always=1&showNoConsent=1" onload="setupCookieBar();"></script>

  3. Click Save changes.

Have questions? Feel free to reach out to our live chat at the bottom right corner of your Universal App dashboard or simply send an email to support@magloft.com

  • Join our Universal App Community here

  • Visit the help playlist to get started with your Universal App here.

Did this answer your question?