[Adobe Analytics] Cannot set variables, cannot send beacon, cannot clear variables | Community
Skip to main content
New Participant
February 19, 2019
Solved

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

  • February 19, 2019
  • 5 replies
  • 4223 views

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.
Best answer by santoshp9709432

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

5 replies

santoshp9709432AuthorAccepted solution
New Participant
February 21, 2019

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

Andrey_Osadchuk
New Participant
February 21, 2019

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

New Participant
February 21, 2019

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

Andrey_Osadchuk
New Participant
February 21, 2019

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

New Participant
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.