Skip to main content
2月 19, 2019 1:56 下午 UTC
已解决

[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?

此主题已关闭回复。
2月 21, 2019 3:40 下午 UTC

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

5回复

Level 6
2月 21, 2019 9:33 上午 UTC

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
Level 10
2月 21, 2019 3:09 下午 UTC

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

翻译
2月 21, 2019 3:34 下午 UTC

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

翻译
Andrey_Osadchuk
Level 10
2月 21, 2019 3:36 下午 UTC

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

翻译
santoshp9709432作者回答
2月 21, 2019 3:40 下午 UTC

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

翻译