Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

add generic analytics section for segment compatible api #140

Merged
merged 3 commits into from
Oct 9, 2023

Conversation

the-newman
Copy link

No description provided.

@the-newman the-newman force-pushed the segment-to-rudderstack branch from 6569f72 to d401db4 Compare October 9, 2023 12:18
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happened to segment.py 🤔 (or more specifically, why did nothing happen to it)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice spot! I thought I had deleted that file.

if not host or not key:
return
global analytics_url, analytics_token, analytics_user_id, http
analytics_url = urlunparse(("https", host, "/v1/track", "", "", ""))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same yarl thing as facebook

@the-newman
Copy link
Author

Thanks for the review @tulir

@the-newman the-newman merged commit 640693f into master Oct 9, 2023
5 checks passed
@the-newman the-newman deleted the segment-to-rudderstack branch October 9, 2023 15:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants