Thanks for the prompt reply.
I don’t have any Google analytics plugins installed. I assume those would be the only likely culprits. I checked all the others and didn’t find any functions connected to Google analytics.
The theme does have a box into which the Google analytics script gets pasted. I tried deleting the script from there, and analytics.js does indeed disappear from the GTmetrics report–but so does local-ga.js. I assume that means I’m getting no analytics tracking at all. There are some other weird effects that I think are connected to caching or CDN usage that might straighten out if I purged all the caches.
I assume the theme is in fact invoking analytics.js, but preventing it from doing that seems to cause more problems than it solves. I’m not going to be changing Themes at the moment, so if that’s really the case, I’ll just live with analytics issue. If I’m missing something, please let me know.