Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Purchases.shared.attribution.setAmplitudeUserId to the SDK #4772

Open
alpennec opened this issue Feb 7, 2025 · 4 comments
Open

Add Purchases.shared.attribution.setAmplitudeUserId to the SDK #4772

alpennec opened this issue Feb 7, 2025 · 4 comments

Comments

@alpennec
Copy link

alpennec commented Feb 7, 2025

Hello,

Can you update the SDK to add a method to set the UserID/DeviceID instead of having to use the reserved attribute $amplitudeDeviceId or $amplitudeUserId ourselves?

https://www.revenuecat.com/docs/integrations/third-party-integrations/amplitude

Thanks,
Axel

@RCGitBot
Copy link
Contributor

RCGitBot commented Feb 7, 2025

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

@kmurphy-rc
Copy link

Hey Axel!
Thanks for the feedback. Are you picturing something like the helper method collectDeviceIdentifiers but that will gather available IDs for integrations?

@alpennec
Copy link
Author

Hey @kmurphy-rc!

I'm picturing the same helper methods you have for any of your integration.

Here: https://github.com/RevenueCat/purchases-ios/blob/ce5be1b895f506186d0192027563b17c2d529379/Sources/Purchasing/Purchases/Attribution.swift

I asked to add the PostHog integration few weeks ago, I'm asking for the same thing but for Amplitude.

Thanks,
Axel

@kmurphy-rc
Copy link

Ahh @alpennec, thanks for clarifying! That makes total sense - I'll share with the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants