(covers information from several alternate timelines)
A tracking device was an object that permitted the position of vehicles and individuals to be determined and monitored.
After travelling from the 23rd century to 1986 San Francisco, Spock cautioned James T. Kirk that the HMS Bounty would likely be detected by the tracking devices of the 20th century. Kirk concurred and ordered Pavel Chekov to engage the Bounty's cloaking device. (Star Trek IV: The Voyage Home)
In 2263, after learning that Spock had given Nyota Uhura an amulet made out of vokaya, Leonard McCoy opined that Spock had given his girlfriend a tracking device, something Spock assured him was not his intention. (Star Trek Beyond)