Cannot set variables: Error: Cannot find the global variable name: "s"

Avatar

Avatar

courtneya707225

Avatar

courtneya707225

courtneya707225

16-01-2020

I am migrating our implementation from DTM to Launch and I chose the "Manage the Library for me" option and when I load the page I am seeing rules fire, but then I am receiving this error message: [Adobe Analytics] Cannot set variables: Error: Cannot find the global variable name: "s".

 

 

launch migration

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Joe_Y_1

Avatar

Joe_Y_1

Joe_Y_1

29-01-2020

If you do not already have it checked, you may want to try checking the "Make tracker globally accessible" checkbox in the Adobe Analytics extension configuration.

 

Capture.PNG

Answers (2)

Answers (2)

Avatar

Avatar

Haran_Huang

Avatar

Haran_Huang

Haran_Huang

20-02-2020

 

Need to check Make tracker globally accessible in LIBRARY MANAGERMENT in Adobe Analytics Extension.

 

 

 

Avatar

Avatar

franzli

Avatar

franzli

franzli

17-01-2020

In general, the s object should be available in all custom code blocks but could it be that you are using the s object somewhere else apart from the custom code blocks?

 

If so, you will need to create a localized copy of the s object.

 

More details here:

https://www.digitaldatatactics.com/index.php/2016/01/15/how-to-get-a-global-s-object-in-dtm/