未加载Adobe DTM工具库 [英] Adobe DTM Tool library not loaded

查看:139
本文介绍了未加载Adobe DTM工具库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们面临着Adobe Analytics库(设置为工具)的一个奇怪问题,它通常不会在运行时由DTM库本身加载。

我们尝试了不同的库,包括自定义代码(H.26或H.27版本)和自动App Measurement,但页面顶部没有加载。

明显的结果是控制台中出现未定义的JS错误(s是跟踪器对象)。

我们通过DTM部署了多个Google Analytics(分析)工具库,但从未发生过。

我们探索了Net控制台以查找可能的未找到脚本请求,但是我们只是找到了成功的主DTM库之一。

对找到可能的调试选项或解决方案的任何帮助都非常感谢。

非常感谢


we're facing a strange issue with Adobe Analytics library, set as a tool, which is not loaded at run-time by the DTM library itself, as usually does.
We tried different libraries, both custom code (H.26 or H.27 versions) and automatic App Measurement, but no one was loaded in the head of page.
The obvious consequence is the "s is not defined" JS error (s is the Tracker Object) in console.
We deployed several Analytics tool libraries via DTM and this never happened.
We explored the Net console in order to find possible "Not Found" script requests but we just found the successful main DTM library one.

Any help to find possible debug options or solutions are really appreciated.
Thanks a lot

推荐答案


不,但未启用很重要,因为我找出了
的原因。我与评估查询字符串
参数的数据元素发生冲突。此数据元素基于的插件,当DTM
尝试解析它时,可能尚未定义obj。我很愿意解决它。无论如何还是要谢谢;)

No it's not enabled but does not matter because I found out the reason why. I had a conflict with a Data Element evaluating a querystring parameter. This Data Element is based on 's' plugin and when the DTM tries to parse it, the 's' obj is probably not defined yet. I'm deep into solving it. Thanks anyway as usual ;)

是的:当您在接口中定义数据元素时,它会在使用任何工具之前得到评估,因此 s 对象尚不存在。

That's right: when you define a data element in the interface, it gets evaluated before any of the tools, so s object does not exist yet.

如果您只是尝试将数据元素设置为url参数的值,则 Type 下拉菜单中的<您可以使用strong> URL参数。

If you are simply trying to set a data element to the value of a url parameter, there is an option in the Type dropdown for URL Parameter you can use.

如果您的数据元素是自定义脚本类型,则有一些内置的 _satellite 您可以使用的方法:

If your data element is a Custom Script type, there are some built-in _satellite methods you can use:

_satellite.getQueryParam()

这是区分大小写的,因此如果您有 foo = bar 并将 FOO传递给它,它不会匹配。

This one is case-sensitive so if you have foo=bar and you pass 'FOO' to it, it will not match.

_satellite.getQueryParamCaseInsensitive()

这是不区分大小写的,因此如果您有 foo = bar ,它将与'foo','FOO','Foo',等等。

This one is case-insensitive so if you have foo=bar it will match on 'foo','FOO','Foo',etc..

这篇关于未加载Adobe DTM工具库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆