File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/PageBuilderAdminAnalytics/view/adminhtml/web/js/page-builder Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ define(['underscore'], function (_underscore) {
8
8
9
9
return function ( target ) {
10
10
var originalTarget = target . trigger ,
11
- isPageBuilderEnabled ;
11
+ isAdminAnalyticsEnabled ;
12
12
13
13
/**
14
14
* Invokes custom code to track information regarding Page Builder usage
@@ -19,11 +19,11 @@ define(['underscore'], function (_underscore) {
19
19
20
20
target . trigger = function ( name , args ) {
21
21
originalTarget . apply ( originalTarget , [ name , args ] ) ;
22
- isPageBuilderEnabled =
22
+ isAdminAnalyticsEnabled =
23
23
! _underscore . isUndefined ( window . digitalData ) &&
24
24
! _underscore . isUndefined ( window . _satellite ) ;
25
25
26
- if ( name . indexOf ( 'readyAfter' ) !== - 1 && isPageBuilderEnabled ) {
26
+ if ( name . indexOf ( 'readyAfter' ) !== - 1 && isAdminAnalyticsEnabled ) {
27
27
window . digitalData . page . url = window . location . href ;
28
28
window . digitalData . page . attributes = {
29
29
editedWithPageBuilder : 'true'
You can’t perform that action at this time.
0 commit comments