== Changelog ==

= 2.0.11 / 2026-05-11 =
* Adds CookieBot consent mode support without requiring the CookieBot plugin - configurable via a settings toggle.
* Adds support for mapping split Gravity Forms name fields into separate LianaMailer fields.

= 2.0.10 / 2026-04-29 =

* Adds CookieBot compatibility: LianaAutomation tracking script is loaded only when the user consents to marketing cookies.
* Fixes LianaAutomation channel selection, enabled all custom channels.

= 2.0.9 / 2026-04-07 =

* Adds post type filtering to Most Popular analytics.
* Fixes Most Popular analytics date range filtering to return the selected range.

= 2.0.8 / 2026-03-17 =

* Removes tracking other campaign unique IDs for Audience data.

= 2.0.7 / 2026-03-11 =

* Adds debugging logs for LianaMailer & LianaAutomation integrations.
* Fixes fatal error with LianaAutomation integration.

= 2.0.6 / 2026-03-04 =

* Soft retry LianaMailer API calls when response code is 429.
* LianaAutomation API settings can be reset also when invalid.
* Adjusted LianaAutomation & LianaMailer API settings labels.

= 2.0.5 / 2026-02-25 =

* Fixes crashing when trying to connect LianaAutomation integration with LianaMailer credentials.
* Fixes Liana integrations giving error when trying to connect with trailing slash in the address field.

= 2.0.4 / 2026-02-20 =

* LianaAutomation page view tracking can be disabled.
* Fixes LianaAutomation Form block rendering.

= 2.0.3 / 2026-02-16 =

* Fixes an issue with LianaMailer for Contact Form 7 migration and behavior.

= 2.0.2 / 2026-02-13 =

* Fixes bug with LianaAutomation tracking.
* Fixes bug with LianaAutomation settings wizard.
* Fixes bug with Contact Form 7 LianaMailer configurator.

= 2.0.1 / 2026-02-12 =

* Adds all countries to country database used in Personalization based on country.
* Adds new FAQ item to Support section.
* Fixes a bug with time spent on page tracking.

= 2.0.0 / 2026-02-12 =

* Major update to separate Basic and Pro versions where this is now the Pro version.
* Adds Personalization overview of all personalizations on the site.
* Adds Liana connector to LianaMailer and more robust LianaMailer integration.
* Adds Liana connectors to form plugins.

= 1.7.0 =

- Adds audience data tracking to analytics.
- Adds new Audience tab to analytics to view audience data.
- Adds audience metrics: LianaAutomation segments, trafic sources, new vs returning users, device types, UTM parameters (campaign, source, medium) and other campaigns.
- Adds analytics view for most popular landing pages.
- Improves most popular pages by adding post type labels.

= 1.6.1 =

- Adds a new A/B testing goal for LianaAutomation form submissions.
- Adds an options name field to A/B testing goals.
- Adds a draft-label for unpublished A/B tests.
- Improves the A/B testing saving A/B testing so that there is no need to save the page when launching A/B test.
- Fixes A/B testing bug in the external URL goal to consider URLs with and without trailing slashes as the same URL.
- Fixes A/B testing bug caused by multiple saves in a row while editing in which the B variant could replace A variant content.
- Fixes A/B testing bug that would cause the inline style blocks not to be replaced/imported by WP core.

= 1.6.0 =

- Adds A/B testing goals: page object view, form submissions, external link clicks, selector clicks.
- Adds ability to have multiple goals in an A/B test.
- Adds configurable post type support for Visited Pages personalization rule.
- Improves A/B testing UX and adds confirmations to destructive actions.
- Fixes a bug where removing a personaliztion would place contents in the wrong place.
- Fixes a bug where old pages with invalid personalization meta would show having personalizations.
- Fixes a bug where B variant of A/B test sometimes overrided the content of A version on autosave.
- Fixes a bug where page modal would have CTA to add personalization or A/B test when that was ultimately not possible to add.
- Moves Google Analytics advanced info of personalizations in analytics view for unified UX with A/B testing.

= 1.5.0 =

- Adds a new personalization rule based on the pages the user previously visited.
- Adds personalization analytics. Metrics: views and clicks.
- Updates the loading of the Liana Marketing Automation tracking script to load on every page instead of only pages with personalization.
- Updates the contextual analytics and A/B testing analytics UI: new UI interface and more detail information and trends.
- Updates the JavaScript code organization and build process.
- Fixes the personalization block allowed blocks.

= 1.4.1 =

- Optimizes the site report database query.
- Fixes a bug that caused the site editor to be blank.
- Fixes a PHP notice in the personalization feature status editor script.
- Fixes a JS error in personalization edit view when the window variable is not present.
- Bumped WP version requirement to 6.4.

= 1.4.0 =

- Adds data layer support for personalization rendering.
- Adds data layer support for A/B testing rendering.
- Adds multiple value support to the personalization country rule.
- Adds multiple value support to the personalization language rule.
- Improves the personalization rule UI.
- Improves the instruction texts and error messages in the LianaAutomation
  settings page.
- Improves the A/B testing results with average values.
- Fixes a bug in the A/B testing reports average engagement time calculation.
- Fixes the usage of anchor links within A/B tests and personalizations (in
  case an anchor link was only in the replacing variant).
- Fixes a bug that caused the A/B testing overview listing to display
  resolved/cancelled tests.
- Fixes a bug that affected the creation of the A/B test custom database table.
- Fixes a bug that caused the URL wildcard (*) to not be visible in the block
  editor.

= 1.3.3 =

- Add the missing A/B test analytics DB table.

= 1.3.2 =

- Adds hookable JS events triggered when the personalization content is replaced.
- Adds generic events for A/B testing and personalization content replacement so
  that there are shared "after replacement" and "done" events to listen to
  in theme/plugin code.

= 1.3.1 =

- Fixes LianaAutomation tracking script being loaded without credentials.
- Disable the mock data WP-CLI command.

= 1.3.0 =

- Added LianaAutomation Forms block.
- Added new personalization variation type: referrer
- Added analytics frontend request bundling.


= 1.2.1 =

- Fixed HTML entities encoding in A/B testing.
- Fixed A/B testing and personalization blocks inserting extra <p> tags.
- Fixed A/B testing doneABTestReplacement event firing.

= 1.2.0 =

- Added integration with LianaAutomation UI.
- Added LianaAutomation marketing page.
- Added LianaAutomation segments personalization rule.
- Fixed PHP block rendering in A/B tests.
- Fixed ACF block rendering cause by ACF block caching in A/B test.
- Fixed A/B test goal saving as draft.
- Fixed issue with A/B test + analytics that cause the first test view not to be recorded.
