63

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

Doug Fir
  • 19,971
  • 47
  • 169
  • 299

3 Answers3

62

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

Andrew
  • 658
  • 8
  • 8
  • 25
    "Other" will also show up for preloaded requests. That is, if you send the header `Link: /style.css; rel=preload; as=style` for `/`, both `/` and `/style.css` will list "Other" in the "Initiator" column. – 0b10011 Jan 12 '17 at 22:38
  • 7
    It could also happen if you use JavaScript to inject an HTML tag that loads content, like an `` tag. – cjbarth May 18 '18 at 19:15
  • @0b10011 I'm seeing that too, for one of my two websites. The other one however says 'Push' in that location. The only difference is that in the second site I send separate Link headers for each resource. It seems like it's working though because if I remove one of the 'pushes' then that reverts back to `Initiator: index`. Also see https://blog.cloudflare.com/announcing-support-for-http-2-server-push-2/ – Simon_Weaver Sep 05 '18 at 20:05
  • 1
    Is it a real request? – Manos Serifios Oct 24 '18 at 16:25
  • 4
    It will also happen if the url is loaded during the submit of a form. E.g. When user clicks the submit button or presses enter in an input inside a form – Sebastien Dec 06 '18 at 11:02
  • 4
    Is can also happen if css initiates a request, for example background-image etc – Russell Sep 04 '19 at 10:23
  • 1
    Interestingly Cloudflare requests that are pushed show `Push / Other` and direct form IIS it shows `Other`. Very odd! Not sure why the difference. Anyone know? – Simon_Weaver Feb 11 '20 at 23:39
  • 1
    Looks like when you use rel=modulepreload that will come from Cloudflare as `Other` and they won't be included in `cf-h2-pushed` header even though they actually are being pushed. – Simon_Weaver Feb 12 '20 at 06:30
  • 1
    Will also happen if there is a **meta refresh** element i.e. `` – scooter Mar 09 '20 at 02:06
  • 2
    Also happens if you're doing CORS requests; javascript's `fetch` will automatically do preflight HTTP `OPTIONS` requests, and those show up as "other" as well. – user986730 Mar 27 '20 at 13:34
  • 1
    It also can happen when a a service worker update is attempted automatically by the browser i.e. calling `navigator.serviceWorker.register('/sw.js')` after the worker has already been installed and the update conditions are met. – Pickachu May 19 '22 at 08:47
3

I noticed another case not related with a user action:

<link rel="icon" type="image/jpeg" href="image.jpg" />

... causes the image.jpg to get loaded with "Initiator Other" (also true with images of another format).

(wanted to add this as a comment under the previous answer, but I am not allowed to)

loupiote
  • 51
  • 2
1

One case where initiator type is 'other' is when a request gets redirected, in this scenario the redirected request will have initiator as other. For Example: request was made for url1 which got redirected to url2, now in case of url2 we get initiator type as 'other'

arc_knight
  • 11
  • 2
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jul 22 '22 at 03:51