Another common issue I've seen where AppMeasurement library loads multiple times on a page is the presence of iFrames, where the iFrame contains another separate page. The page within that iFrame has appMeasurement and/or DTM loading also, so you end up with two instances on the same overall page.