chrome 控制台中的网络 "initiator other" 是什么?
What is "initiator other" in network in chrome console?
当有人在我们的网站上进行转化以进行报告和分析时,我会触发图像标签:
<img src="https://example.evyy.net/conv/?somechannel=cats&cid=3790&oid=123&cat1=premium&sku1=123&qty1=1&amt1=456&custid=qbc" />
我们注意到昨天流量下降了。为了进行调试,我访问了该站点并注册,并在控制台打开了网络选项卡。
我在过滤框中输入了 "evyy",我看到我的标签有 3 个订单项。
这是什么意思?不应该只有 1 个订单项吗?一项的状态为 302,另外两项的状态为 200。这样对吧?
附上屏幕。这看起来像"right"吗?我可以查看网络选项卡中是否有任何向下钻取,以查看我们这边的跟踪是否存在问题?
"Initiator Other" 通常表示网络请求是由用户发出的,而不是来自 Chrome、重定向或脚本。
当有人点击按钮时请求被触发(这可能是您的分析正在跟踪的内容)。您可以阅读更多相关信息 in the Chrome DevTools docs.
Initiator: The object or process that initiated the request. It can have one of the following values:
Parser - Chrome's HTML parser initiated the request.
Redirect - A HTTP redirect initiated the request.
Script - A script initiated the request.
Other - Some other process or action initiated the request, such as the user navigating to a page via a link, or by entering a URL in the address bar.
请求按照您看到的顺序发出,第一个收到 302 响应的是 "hey, go to this new url"。这就是(可能)提出第二个请求的原因,它获得了 200。第三个请求也可能来自于单击按钮。我觉得不错。
我注意到另一个与用户操作无关的案例:
<link rel="icon" type="image/jpeg" href="image.jpg" />
... 导致 image.jpg 加载 "Initiator Other"(对于另一种格式的图像也是如此)。
(想在之前的回答下添加这个作为评论,但我不允许)
当有人在我们的网站上进行转化以进行报告和分析时,我会触发图像标签:
<img src="https://example.evyy.net/conv/?somechannel=cats&cid=3790&oid=123&cat1=premium&sku1=123&qty1=1&amt1=456&custid=qbc" />
我们注意到昨天流量下降了。为了进行调试,我访问了该站点并注册,并在控制台打开了网络选项卡。
我在过滤框中输入了 "evyy",我看到我的标签有 3 个订单项。
这是什么意思?不应该只有 1 个订单项吗?一项的状态为 302,另外两项的状态为 200。这样对吧?
附上屏幕。这看起来像"right"吗?我可以查看网络选项卡中是否有任何向下钻取,以查看我们这边的跟踪是否存在问题?
"Initiator Other" 通常表示网络请求是由用户发出的,而不是来自 Chrome、重定向或脚本。
当有人点击按钮时请求被触发(这可能是您的分析正在跟踪的内容)。您可以阅读更多相关信息 in the Chrome DevTools docs.
Initiator: The object or process that initiated the request. It can have one of the following values:
Parser - Chrome's HTML parser initiated the request.
Redirect - A HTTP redirect initiated the request.
Script - A script initiated the request.
Other - Some other process or action initiated the request, such as the user navigating to a page via a link, or by entering a URL in the address bar.
请求按照您看到的顺序发出,第一个收到 302 响应的是 "hey, go to this new url"。这就是(可能)提出第二个请求的原因,它获得了 200。第三个请求也可能来自于单击按钮。我觉得不错。
我注意到另一个与用户操作无关的案例:
<link rel="icon" type="image/jpeg" href="image.jpg" />
... 导致 image.jpg 加载 "Initiator Other"(对于另一种格式的图像也是如此)。
(想在之前的回答下添加这个作为评论,但我不允许)