Google will stop using an Apple identification number in its own apps, such as YouTube and Maps.
The Apple code allows app builders to recognize users on different devices, even if they are not logged in.
Apple assigns an identification number to each user.
This code can be requested by apps to serve that person more targeted advertisements.
Apple previously announced that it will soon be more stringent: apps must explicitly request permission to request the Apple number.
Once that policy takes effect, Google will no longer use the code, the company announced on its blog on Wednesday.
Google still has alternatives to track users, for example by letting them log in to apps.
Facebook, the largest seller of online ads next to Google, announced in December that it would ask users for the Apple tracking code.
"Apple has made it clear that it will block Facebook in the App Store if we don't use Apple's window," Facebook reported at the time.