Added comments for ad tracking functions