HTML newbie here. I have been using VBA to scrape the web (by automating Internet Explorer) for a while now. (Yes, yes, I know there are other VBA scraping methods which are way faster but these don't work on certain websites)

There is a certain website which I will call xyz.com for the purpose of this thread (1. I want to keep it confidential and 2. The websites membership is not available to the public so I will have to do the testing anyway)

After you logon onto xyz.com, you can enter an ID into a search box to return a single record. Up to now I have been automating IE to loop through a list of IDs, running a search on each and finally return a formatted Excel workbook with the collected results. This method works but it is very slow.

I want to decrease the overall running time. So recently I had a closer look at the page source. The site appears to be using something I have never heard of before called 'Google Tag Manager'? From what I can make out, the ID you enter in the inputbox is sent when you click on the Next button. This triggers a POST(?) to GTM using JavaScript(?) (I'm a HTML newbie!). It then loads a new page with the search results.

I expect I could double the overall speed if I could cut out the need to return to the search page between each search results page. But to do that, I would need an alternative way of requesting the search results from the site.

Is there a way of sending my desired search values to the JavaScript?/GoogleTagManager?