The links collection in the object returned by Invoke-WebRequest is just a list of clickable links. This does not include all of the various ways a page can cause that browser to access a remote URL. You need a network monitoring tool to see what is actually happening. The easiest tool that you probably already have is the Developer Tools in Chrome. There is a network view in the tool that shows you all the URLs access when a page is loaded.
Viewing 1 reply thread