Added ad tracking for authorize flow