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

Avatar

Avatar

santoshp9709432

Avatar

santoshp9709432

santoshp9709432

19-02-2019

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

santoshp9709432

Avatar

santoshp9709432

santoshp9709432

21-02-2019

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

Answers (4)

Answers (4)

Avatar

Avatar

Andrey_Osadchuk

MVP

Avatar

Andrey_Osadchuk

MVP

Andrey_Osadchuk
MVP

21-02-2019

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

Avatar

Avatar

santoshp9709432

Avatar

santoshp9709432

santoshp9709432

21-02-2019

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

Avatar

Avatar

Andrey_Osadchuk

MVP

Avatar

Andrey_Osadchuk

MVP

Andrey_Osadchuk
MVP

21-02-2019

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

Avatar

Avatar

thomas_amsler

Avatar

thomas_amsler

thomas_amsler

21-02-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.