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

chore: add internalUsageAttributionIds in the library #682

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zhunhan
Copy link

@zhunhan zhunhan commented Feb 7, 2025

This PR add internalUsageAttributionId to help Google understand which libraries and samples are helpful to developers, such as usage of this library. Instructions for opting out of the identifier are provided in README.

The value is assign as part of APIProvider context and passed to maps instance to pass to mapOptions.

@usefulthink
Copy link
Collaborator

Thanks! Is this used as a replacement for what we're currently doing with the solution_channel parameter?

@zhunhan
Copy link
Author

zhunhan commented Feb 7, 2025

Thanks! Is this used as a replacement for what we're currently doing with the solution_channel parameter?

Yes, that's the plan, right now we will use both and migrate to internalUsageAttributionIds as the sole one in the future.

@zhunhan zhunhan marked this pull request as draft February 7, 2025 20:32
@zhunhan
Copy link
Author

zhunhan commented Feb 7, 2025

Converting the PR to draft for now.

The update requires Google Maps JS 3.59.2, whereas the current library only requires 3.54.10. Let me check offline on the version bump.

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

Successfully merging this pull request may close these issues.

2 participants