Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

[Adobe Analytics] Cannot set variables, cannot send beacon, cannot clear variables

Avatar

Level 1

I have created a rule for adobe analytics extension and have configured analytics variables with test values for ex: pagename: "homepage", channel: "channel". The rule is firing but it cannot set variable, not sending beacon, neither clearing variable with error as "Cannot read property 'indexOf' of undefined". Below is the console screenshot for reference.

cort issue.PNG

Any help?

1 Accepted Solution

Avatar

Correct answer by
Level 1

It was an issue with Adobe Analytics Extension, just upgraded it and this issue got solved.

View solution in original post

5 Replies

Avatar

Level 9

Seems that you are missing the AppMeasurement.js library. Are you sure it is loaded correctly? Do you include your scripts async, maybe your rule is fired before the AppMeasurement is available.

Avatar

Level 10

Did you use any custom code with indexOf? if yes, could you share the code snippet?

Avatar

Level 1

Nowhere I've used indexOf method. I didn't coded anything in custom code.

Avatar

Level 10

Can you share the URL (here or in direct message)?

Avatar

Correct answer by
Level 1

It was an issue with Adobe Analytics Extension, just upgraded it and this issue got solved.