utag.DB是什么意思?

时间:2016-08-18 03:00:16

标签: javascript console tealium

我很难理解这意味着什么......

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           version="1.0">
  <xs:element name="Languages">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Language" maxOccurs="unbounded" minOccurs="0">
          <xs:complexType>
            <xs:simpleContent>
              <xs:extension base="xs:string">
                <xs:attribute type="LanguageType" name="Type" use="optional"/>
              </xs:extension>
            </xs:simpleContent>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="LanguageType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Subbed"/>
      <xs:enumeration value="Dubbed"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>

我通过控制台在网页上看到它。而我正试图找出它的含义。任何指针都很有用。

2 个答案:

答案 0 :(得分:1)

utag.db是用于调试的Tealium函数。它类似于console.log(非标准)。它是通过设置的cookie启用的。

答案 1 :(得分:1)

抓住你!!

您对utag感到好奇,这意味着您已在门户中实施或尝试实施 Tealium数据层

基本上utag.db用于调试与utag文件相关的tealium功能。正如@webanalyticsdood正确提到的,应该使用它而不是非标准的console.log

这很好,但我该如何以及为什么要使用它?

简单,使用以下命令在开发者控制台中将utag cookie设置为true

document.cookie="utagdb=true";

让我们尝试使用以下命令,

utag.data

无论您传递给tealium的数据都会在utag.data中找到。如果您无法根据条件事件读取数据,则不会将其发送给Teamium,最好返回并更正您的代码。我们试试另一个。

utag.id

它将返回您为与tealium同步设置的ID,

您可以在utag.js

中探索更多类似的内容

PS:会建议您在问题中添加tealium标签。

相关问题