This feature is only available in the Pro version of Independent Analytics.
Every time a visitor clicks on a link, Independent Analytics Pro checks if it matches one of your link rules and saves the click data to a file if there is a match.
If every click were saved to the database immediately, it would create an enormous number of database queries. Instead, the click data is saved to a file in a process that takes only a few milliseconds to complete and doesn’t create a database request.
Once every minute, IA Pro checks the click data file and saves any new clicks to the database. This process is only run when WordPress is already loaded, so there is minimal overhead.
This design allows IA Pro to accurately track clicks without creating a negative performance impact. The only downside is that if you are testing a link to ensure it’s getting tracked, you will have to wait up to 60 seconds to see the click appear in the Clicks report.
Refreshing the click data faster for testing
If you are testing a new link pattern and want to see your click data faster, you can install the WP Crontrol plugin, which lets you view all of your site’s upcoming cron events.
Inside the Cron Events menu, look for an event called iawp_click_processing
. Hover your cursor over it and click the Run now link to execute it immediately.
This will update the Clicks report immediately so you can make sure your new link pattern is getting tracked as expected.
Please note that this is not a requirement and is only a convenient way to update the Clicks report more quickly when testing a new link pattern.