Issue with HTMLRewriter of Worker due to a tracking script that sends request to the same URL via AJAX

Hi there,

my Worker is executed multiple times because a tracking tool sends another request via AJAX to the site.
How can I prevent this?

Thanks for your help.