Skip to main content
February 19, 2019
Solved

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

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.

Any help?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
santoshp9709432Accepted solution
February 21, 2019

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

5 replies

Level 6
February 21, 2019

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.

Translate
Andrey_Osadchuk
Level 10
February 21, 2019

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

Translate
February 21, 2019

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

Translate
Andrey_Osadchuk
Level 10
February 21, 2019

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

Translate
santoshp9709432AuthorAccepted solution
February 21, 2019

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

Translate