-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gradio] Add Log Events for Download & Share Button Clicks (#1217)
# [gradio] Add Log Events for Download & Share Button Clicks Adding `DOWNLOAD_BUTTON_CLICKED` and `SHARE_BUTTON_CLICKED` events to track usage, per gradio GTM doc. The event name follows pattern used by 'SAVE_BUTTON_CLICKED' already. ## Testing: - In `LocalEditor`, pass through callbacks for share and download and update logging check to allow logging in dev - Click the buttons and ensure they show up in datadog: <img width="758" alt="Screenshot 2024-02-12 at 11 34 16 AM" src="https://github.com/lastmile-ai/aiconfig/assets/5060851/6f08f596-05fd-4fe6-81b5-b73d945b12c3">
- Loading branch information
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters