I'm currently creating an app that lets the user play multiple musical instruments. I use ajax to pass an object of instrument names and timestamps to a PHP function that then creates an mp3. My problem arises when trying to process this object and use the data to track which instruments were used, and how many times each was used. There are 15 instruments and I loop through the obj (using jquery) and fire one event per instrument. The reason I don't track the events live is that responsiveness is essential to the smooth running of the app and the event tracking can be expensive thus reducing responsiveness.

Once around 10 of the events have fired I start to get 'Exceeded maximum hit rate. Aborting hit'. (using the GA chrome extension to debug)

Has anyone out there had any similar issues processing events from an array like this? The only progress I've made is when I add a large delay on the loop but this is not ideal for obvious reasons.

P.s. The tracking code syntax etc is working fine as I use 1 function to process all of my tracking events and everything else is working with no issues

many thanks