Fixed missing closing query bracket
Fixed wrong variable in Google Analytics