Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is "initiator other" in network in chrome console?

I fire an image tag when someone converts on our website for reporting and analytics:

<img src="https://example.evyy.net/conv/?somechannel=cats&cid=3790&oid=123&cat1=premium&sku1=123&qty1=1&amt1=456&custid=qbc" /> 

We noticed traffic decline yesterday. To debug I visited the site and signed up, with the console open network tab.

I typed "evyy" into the filter box and I see 3 line items for my tag.

What does this mean? Should there not be just 1 line item? One item has a 302 status and the other two a status of 200. That's good right?

Screen attached. Does this look "right"? Is there any drill down in the network tab I can look at to see if there is a problem on our end with tracking?

enter image description here

like image 423
Doug Fir Avatar asked Oct 21 '15 14:10

Doug Fir


People also ask

What is a request initiator chain?

# Request Initiator Chains in the Initiator tabYou can now view the initiators and dependencies of a network request as a nested list. This can help you understand why a resource was requested, or what network activity a certain resource (such as a script) caused.

What is VM in Chrome console?

It is abbreviation of the phrase Virtual Machine. In the Chrome JavaScript engine (called V8) each script has its own script ID. Sometimes V8 has no information about the file name of a script, for example in the case of an eval .


Video Answer


1 Answers

"Initiator Other" usually means the network request was made from a user, not from Chrome, a redirect or a script.

The request was fired when someone clicked a button (this is what your analytics is probably tracking). You can read more about this in the Chrome DevTools docs.

Initiator: The object or process that initiated the request. It can have one of the following values:

  1. Parser - Chrome's HTML parser initiated the request.

  2. Redirect - A HTTP redirect initiated the request.

  3. Script - A script initiated the request.

  4. 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.

The requests are made in the order you see, the first received the 302 response which said, "hey, go to this new url". That's (probably) why the second request was made, which got the 200. The third was probably from clicking on the button too. Looks fine to me.

like image 155
Andrew Avatar answered Sep 21 '22 20:09

Andrew