Knowledge Base › Lightweight Cookie Notice › Getting Started

Migrating from Free to Pro

The free and the Pro version are two separate plugins. This article explains how to move your sections, categories, cookies, and consent log from the free version to the Pro version, and what you need to configure again.

What is transferred and what is not

DataTransferred with export and import
SectionsYes
Categories (including the HTML Head and HTML Body scripts)Yes
CookiesYes
Consent logYes, optional
Options (texts, buttons, style, geolocation, advanced settings)No. Configure them again in the Pro version.

Migration procedure

Step 1 — Take note of your options

The options are not included in the export file. Before you start, open Cookie Notice → Options in the free version and take note of the values you changed (texts, button actions, colors, geolocation, advanced settings), or keep the page open in a separate browser tab.

The options of the free version stay saved while the free plugin is deactivated. They are deleted only when you delete the plugin.

Step 2 — Export the data from the free version

  1. In the free version, go to Cookie Notice → Tools.
  2. Leave Include the consent log records on if you want to move the consent log. Turn it off to generate a smaller file without the consent log.
  3. Click Export. An XML file is downloaded.

Step 3 — Install the Pro version

  1. Install and activate the Pro version. See Installing the Plugin.
  2. Deactivate the free version, so that only one cookie notice is displayed.
  3. Activate your license. See Activating Your License.

Step 4 — Import the data in the Pro version

  1. In the Pro version, go to Cookie Notice → Tools.
  2. In the Import section, click Choose file and select the XML file exported in Step 2.
  3. Click Upload file and import.

A message reports the number of consent log records, sections, categories, and cookies that have been added.

Note: the import adds the records of the file to the existing ones. It does not replace them. If you import the same file twice, the sections, categories, and cookies are duplicated.

Step 5 — Configure the options

Go to Cookie Notice → Options in the Pro version and enter the values noted in Step 1.

Step 6 — Update the technical names

The two versions use different names for cookies and CSS classes. Update these items if you use them:

ItemFreePro
Class of custom revisit consent elementsdaextlwcnf-revisit-consent-triggerdaextlwcn-revisit-consent-trigger
Cookie that stores the acceptancedaextlwcnf-accepteddaextlwcn-accepted
Cookie that stores the category statesdaextlwcnf-category-statusdaextlwcn-category-status
Cookie that stores the encrypted keydaextlwcnf-encrypted-keydaextlwcn-encrypted-key

Check these places:

  • Custom revisit consent links or buttons added to your theme, footer, or pages. Replace the class name. See Letting Visitors Change Their Preferences.
  • Caching plugin settings that refer to the plugin cookies. See Using the Plugin with Caching Plugins.
  • Google Tag Manager triggers or variables that read the plugin cookies.
  • Custom JavaScript or CSS that refers to the plugin cookies or elements.

Step 7 — Test and clean up

  1. Clear the cache of your caching plugin, if you use one.
  2. Open the site in a private browser window and test the notice as described in Quick Start Guide.
  3. When everything works, you can delete the free plugin from the Plugins menu. Deleting it removes the data of the free version from the database.

What your visitors see after the migration

Because the cookie names are different, the Pro version does not read the choices saved by the free version. Visitors who already made a choice see the cookie notice again and are asked to choose once more.

Pro features to set up after the migration