diff --git a/tools/push_to_posthog.py b/tools/push_to_posthog.py index 8eb9cb693..59e61f550 100644 --- a/tools/push_to_posthog.py +++ b/tools/push_to_posthog.py @@ -54,12 +54,14 @@ def main(): print("Repository information: ", properties) # Send event to PostHog - posthog.capture( + result = posthog.capture( distinct_id='github_repo', # You can customize this identifier event='GitHub Repo Stats', properties=properties ) + print("PostHog response: ", result) + print("Data sent to PostHog successfully.") else: print("Failed to retrieve repository information.")