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

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

santoshp9709432
Level 1
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
santoshp9709432
Correct answer by
Level 1
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
thomas_amsler
Level 9
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.

Andrey_Osadchuk
Community Advisor
Community Advisor

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

santoshp9709432
Level 1
Level 1

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

Andrey_Osadchuk
Community Advisor
Community Advisor

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

santoshp9709432
Correct answer by
Level 1
Level 1

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

View solution in original post