Could you check your api definition?
do_not_not_track: false
I believe this will explicitly enable analytics for the api.