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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Community Advisor

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

Community Advisor

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.