fixed analytics not tracking metadata