Contributors: markjhayden
Tags: gutenberg, block, analytics, cdp, personalization
Requires at least: 6.0
Tested up to: 6.6.1
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
This official Lytics for WordPress plugin brings the power of Lytics' personalization engine directly to WordPress.
Used to seamlessly integrate the most powerful capabilities of the Lytics Personalization Engine directly into WordPress. Once activated, this plugin will automatically configure the Lytics collection and personalization tag on your website, allowing for the deployment of highly targeted web campaigns, personalized content, recommendations, and more.
- Installation: Seamlessly connect your website with Lytics in a few clicks. No development required.
- Profile Building / Collection: Collect comprehensive visitor data from your WordPress site in real-time, enriching Lytics customer profiles for both anonymous and known visitors.
- Identity Resolution: Unify user identities across devices and sessions, leveraging Lytics to dynamically personalize site content based on comprehensive user data and segments.
- Behavioral Insights: Gain deep insights into user behavior, allowing for dynamic content personalization based on actionable data and user segments identified by Lytics.
- Content Personalization: Enhance user experience by dynamically personalizing site content, tailored to individual user preferences and behaviors as understood by Lytics.
- Content Recommendation: Improve engagement and user retention through intelligent content recommendations, powered by Lytics' deep learning about user preferences and behaviors.
- Supports core Lytics tracking and personalization tag installation.
- Supports data collection and Lytics profile building.
- Supports creation and delivery of Lytics Web Experiences via Personalization SDK.
- Supports real-time Lytics powered content recommendations.
- Supports real-time personalization based on Lytics profile.
User Data: This plugin does not collect any user data. However, the tracking code added by this plugin is used by Lytics to collect a variety of user data in support of building your private customer profiles. You can learn more about Lytics Privacy here.
Cookies: The Lytics tracking tag installed uses first party cookies to identify both anonymous and known visitors as well as optional user preferences.
Services: This plugin connects to the following Lytics APIs either directly or via the implemented tracking tag:
- Data Collection (GET/POST)
- Web Personalization (GET)
- Content Recommendation (GET)
- Segments/Collections (GET)
- Note: Additional API calls may be made to official APIs managed and maintained exclusively by Lytics.
- Download the Plugin: Obtain the latest version of the Lytics plugin from the master branch of this repository.
- Install the Plugin: Transfer all Lytics plugin, including outer
lytics
directory, to your WordPresswp-content/plugins
directory. Note: If developing locally this plugin utilizes Vite for its build process, which results in the creation of adist
directory. Thisdist
directory should be considered the actual plugin directory. Additional details are provided below. - Activate the Plugin: Use the WordPress admin panel to navigate to the Plugins page, locate the
Lytics
plugin, and activate it.
- Create Access Token: Your Lytics API Token can be found within your account settings on the Lytics platform. We recommend using the
admin
role. - Enable Plugin: Access the Lytics plugin settings via the WordPress admin panel. Enter your Lytics Access Token as instructed and click save. Be sure to
enable tag
to ensure Lytics is configured properly.
As an open source project, we rely on community contributions to continue to improve WooCommerce. To contribute, please follow the pre-requisites above and visit our Contributing to Woo doc for more links and contribution guidelines.
- Initial release
- Node.js
- yarn
- Install Yarn: Ensure that
yarn
is installed on your development machine. - Repository Cloning: Clone the Lytics plugin repository to a suitable location outside your WordPress installation.
git clone https://github.com/lytics/wordpress-core.git
- Dependency Installation: Navigate to the cloned plugin directory and run
yarn install
to install dependencies.cd wordpress-core yarn install
- Development Build: Compile development assets using
yarn
.yarn dev
- Symlink Creation: Establish a symlink in your WordPress
wp-content/plugins/
directory pointing to your development copy of the Lytics plugin. This enables live testing without needing to copy files.ln -s /path/to/wordpress-core /path/to/wp-content/plugins/lytics
- To build the plugin and watch for changes:
yarn dev
- To build the plugin for production:
yarn build
We'd love for you to join our growing community of Lytics developers. Simply visit https://lytics.com/joinslack and join the conversation.