Logic Hop offers add-on integrations for services like Google Analytics, Drip, and WooCommerce, and it also lets developers feed their own data into personalization through custom post types, taxonomies, and the Custom Object API.
Logic Hop offers a number of add-on integrations to connect third-party services such as Google Analytics, Drip, and WooCommerce, providing personalization through conditions, goals, and data display. If you want to build your own integration, a great starting point is to download an existing add-on and adapt it. As of Logic Hop 3.1.5, the Custom Object functionality lets you integrate data directly without a full add-on.
Custom post types
Logic Hop supports custom post types as of version 3.2.1. Adding a custom post type makes its data available for the current session and future visits, stored in the Page variable and the Pages and PagesSession arrays of the Logic Hop data variable. Enabling a custom post type requires registering it in both PHP and JavaScript (the latter for the Condition Builder), for example by adding a logichop-cpt.js file in your theme that calls logicHopCB.addPostType with your post type name.
Available for the current session and future site visits
Stored in the Page, Pages, and PagesSession data variables
Usable in any condition type that supports page data
Custom taxonomies
Custom taxonomies can be registered with Logic Hop the same way as custom post types, making taxonomy terms available to conditions and data display so you can personalize based on your own content classifications.
Logic Hop Custom Object
The Custom Object provides a flexible store for arbitrary data attached to a visitor. You can store and retrieve Custom Object data with PHP, retrieve it with JavaScript, display it with Logic Tags, and evaluate it inside conditions — giving you a complete path to integrate bespoke data sources into personalization.
Store and retrieve Custom Object data with PHP
Retrieve Custom Object data with JavaScript
Display Custom Object data with Logic Tags
Evaluate Custom Object data with conditions
User Data Action
The User Data action hook lets you modify or augment a visitor's Logic Hop data programmatically as it is built, which is useful when you need to merge data from an external system before conditions are evaluated.
Questions this page should answer
Can I add my own data to Logic Hop?
Yes. Use custom post types, custom taxonomies, or the Custom Object API to store your own data and use it in Logic Hop conditions, goals, and Logic Tags.