Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

courtneya707225
Level 1
Level 1

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
1 Accepted Solution
Joe_Y_1
Correct answer by
Level 2
Level 2

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

View solution in original post

3 Replies
franzli
Level 4
Level 4

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/

 

 

Joe_Y_1
Correct answer by
Level 2
Level 2

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

View solution in original post

Haran_Huang
Level 3
Level 3

 

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