From 6b1247feccb429784d3e4e2dc7df8070df83f4b6 Mon Sep 17 00:00:00 2001 From: Steve Layton Date: Wed, 3 Jul 2024 11:37:25 -0700 Subject: [PATCH] drupal-to-wordpress --- src/admin/js/lytics-pathfora-interface/index.js | 2 +- src/admin/js/lytics-widget-wizard/pathforaInterface.js | 2 +- src/admin/partials/lytics-admin-display.php | 2 +- src/backup/lytics.php | 2 +- src/lytics.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/admin/js/lytics-pathfora-interface/index.js b/src/admin/js/lytics-pathfora-interface/index.js index f761e5a..15eac69 100644 --- a/src/admin/js/lytics-pathfora-interface/index.js +++ b/src/admin/js/lytics-pathfora-interface/index.js @@ -1,5 +1,5 @@ var h=function(){function f(o,i,l){o===void 0&&(o=!1),i===void 0&&(i=!1),l===void 0&&(l="");var c=this;i&&(console.log("Adding JSTAG shim to the page"),this.loadJSTAGLibrary(l).then(function(){console.log("JSTAG loaded successfully")}).catch(function(t){console.error("Error loading JSTAG script:",t)})),o&&(console.log("Adding Pathfora shim to the page"),this.loadPathforaLibrary("https://c.lytics.io/static/pathfora.js").then(function(){c.client=window.pathfora,console.log("Pathfora loaded successfully")}).catch(function(t){console.error("Error loading Pathfora script:",t)}))}return f.prototype.loadPathforaLibrary=function(o){return new Promise(function(i,l){var c=document.createElement("script");c.src=o,c.onload=function(){return i()},c.onerror=function(){return l("Error loading script: ".concat(o))},document.body.appendChild(c)})},f.prototype.loadJSTAGLibrary=function(o){return new Promise(function(i,l){var c=document.createElement("script");c.textContent=`!function(){"use strict";var o=window.jstag||(window.jstag={}),r=[];function n(e){o[e]=function(){for(var n=arguments.length,t=new Array(n),i=0;i

When activated Lytics will not be installed for users who are - actively logged in to Drupal. This may prevent testing of personalization and recommendation features + actively logged in to WordPress. This may prevent testing of personalization and recommendation features but also may prevent skewing of analytics data.

diff --git a/src/backup/lytics.php b/src/backup/lytics.php index 1a9afc4..5ad5b61 100644 --- a/src/backup/lytics.php +++ b/src/backup/lytics.php @@ -243,7 +243,7 @@ function scrollToTop() { >
-

When activated Lytics will not be installed for users who are actively logged in to Drupal. This may prevent testing of personalization and recommendation features but also may prevent skewing of analytics data. +

When activated Lytics will not be installed for users who are actively logged in to WordPress. This may prevent testing of personalization and recommendation features but also may prevent skewing of analytics data.

diff --git a/src/lytics.php b/src/lytics.php index 94b4eba..cb07eaf 100644 --- a/src/lytics.php +++ b/src/lytics.php @@ -10,7 +10,7 @@ * @wordpress-plugin * Plugin Name: Lytics * Plugin URI: https://https://wordpress.com/plugins/lytics - * Description: The Lytics WordPress Plugin seamlessly integrates your website with the Lytics Customer Data Platform (CDP). This integration empowers site administrators to leverage extensive visitor data and personalization capabilities, enhancing user experiences and building a robust first-party data asset within their Drupal site. + * Description: The Lytics WordPress Plugin seamlessly integrates your website with the Lytics Customer Data Platform (CDP). This integration empowers site administrators to leverage extensive visitor data and personalization capabilities, enhancing user experiences and building a robust first-party data asset within their WordPress site. * Version: 1.0.0 * Author: Lytics * Author URI: https://lytics.com/