You can stop Google from tracking your computer by going to your Google Account page and turning off several features.
You can stop Google from tracking your iPhone by disabling the "Location History" option in your account settings.