Mark O'Sullivan ๐ŸŒŽ @markos.dev ยท Aug 30

The problem? My analytics code. I was retrying to find the elements I was tracking clicks on every 100ms if no results were found. I did this to make sure analytics was setup. No issue on the homepage because all of these elements were found however the other pages didn't have all of them. 2/3

0 likes 1 replies

?

Replies

Mark O'Sullivan ๐ŸŒŽ ยท Aug 30

The fix: 1. Only attempting to track the elements which should be on the current webpage 2. Added logic to try to track it a maximum of 6 times (retries every 500ms) 3/3