Hi Glenn,
As per our understanding from the use case, you want to fire image request from main library for certain pages only on first page load and when page is refreshed, only the direct call rule is fired and other call from main library is aborted. For this use case, we can define below code under Adobe Analytics tab in the custom page code of the page load rule of the page :
if(window.performance) { if(performance.navigation.type == 1 ) { s.doPlugins = function(s) { s.abort = true; }; } }
The abort flag can be set inside doPlugins to cause the current track call to not be sent. The abort flag is reset with every tracking call, so if a subsequent tracking call also needs to be aborted the flag will need to be set again inside doPlugins.
Thanks & Regards
Parit Mittal