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
| Data | Transferred with export and import |
|---|---|
| Sections | Yes |
| Categories (including the HTML Head and HTML Body scripts) | Yes |
| Cookies | Yes |
| Consent log | Yes, 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
- In the free version, go to Cookie Notice → Tools.
- 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.
- Click Export. An XML file is downloaded.
Step 3 — Install the Pro version
- Install and activate the Pro version. See Installing the Plugin.
- Deactivate the free version, so that only one cookie notice is displayed.
- Activate your license. See Activating Your License.
Step 4 — Import the data in the Pro version
- In the Pro version, go to Cookie Notice → Tools.
- In the Import section, click Choose file and select the XML file exported in Step 2.
- 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:
| Item | Free | Pro |
|---|---|---|
| Class of custom revisit consent elements | daextlwcnf-revisit-consent-trigger | daextlwcn-revisit-consent-trigger |
| Cookie that stores the acceptance | daextlwcnf-accepted | daextlwcn-accepted |
| Cookie that stores the category states | daextlwcnf-category-status | daextlwcn-category-status |
| Cookie that stores the encrypted key | daextlwcnf-encrypted-key | daextlwcn-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
- Clear the cache of your caching plugin, if you use one.
- Open the site in a private browser window and test the notice as described in Quick Start Guide.
- 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
- Accept Cookies Script in the categories: Running Scripts Based on Visitor Consent.
- Google Consent Mode: Setting Up Google Consent Mode.
- Cookies, Delete Cookies, and Revisit Consent blocks: Blocks and Shortcodes.
- Domain option to share the consent across subdomains, and Capabilities: Advanced Settings Reference.