Logic Hop Update Notices

Update Notices

3.2.5

Data Preview Tool

Logic Hop 3.2.5 introduces a new Data Preview Tool which provides the ability to set test user data in order to preview logic and conditions.

Learn more about the Data Preview Tool

3.2.4

Dynamic Embedded Content

The Shortcode [logichop_embed] has been added that will allow for Logic Hop Data variables to be used with WordPress Embeds. This will allow for dynamic content based on Logic Hop data such as query strings.

Dynamic Instagram embed based on query string ?instagram=##Instagram Post ID##:

[logichop_embed]https://www.instagram.com/p/{{ var: Query:instagram | default: Bvk5R26AYrz }}/[/logichop_embed]

Dynamic YouTube video based on query string ?youtube=##YouTube Video ID## processed with the Shortcode [embed]:

[logichop_embed shortcode="embed" width="1920" heigh="1080"]http://www.youtube.com/watch?v={{ var: Query:youtube | default: dQw4w9WgXcQ }}[/logichop_embed]

Note: The [logichop_embed] Shortcode will only work when Javascript Mode is disabled.

Transients Class

A minor update was made in how the Logic Hop Transient Class is included when Transients are enabled. This should help prevent an error from occurring if Logic Hop is called after PHP headers are sent.

Learn more about Logic Hop Transients.

3.2.3

Javascript Cookies

Prior to 3.2.3 Logic Hop cookies were set in PHP using the setcookie() function. While this works in most scenarios, some hosting environments block and/or cache cookies that are set via the Set-Cookie header.

Setting cookies via Javacript allows the cookies to function as expected.

Transients for Logic Hop

By default Logic Hop makes use of PHP Sessions for temporarily storing user data. The new Enable WordPress Transients setting temporarily stores user data as a WordPress Transient in the WP_Options table rather than PHP Sessions.

The Delete Transients setting enables an optional Cron job which will automatically delete expired Logic Hop Transients.

Learn more about Logic Hop Transients.

3.2.2

Nested Logic Tags

Logic Hop 3.2.2 includes a new beta feature, Nested Logic Tags, which allow for conditions within conditions.

Nested Logic Tags are disabled by default. To enable:

  • Visit the Logic Hop Settings
  • Check the Enable Nested Logic Tags
  • Click Save Changes to save your settings

Once enabled please take a moment to review your pages which contain Logic Hop conditions and confirm everything appears as expected.

If you experience any issues please let us know and we’ll work to resolve them immediately.

Learn more about Nested Logic Tags.

Goal Groups

Logic Hop 3.2.2 also introduces Goal Groups which allows for new ways to easily segment and profile site visitors.

Learn more about Goal Groups.