I have a need to include the Google Analytics analytics.js ga() script on a site but I want to disable the automatic pageview collection. I still want to be able to use the dynamic/virtual pageview tracking (i.e. ga('send', 'pageview', url); ) but only those requests.
How can I accomplish this? I've found ways to do it with gtag() but I do not utilize gtag and that is not an appropriate solution for my issue.