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

Configuring GTAG_ID upon http request hostname domain #63

Open
matiasmasso opened this issue May 2, 2023 · 0 comments
Open

Configuring GTAG_ID upon http request hostname domain #63

matiasmasso opened this issue May 2, 2023 · 0 comments

Comments

@matiasmasso
Copy link

Hi, I'm successfully using your NuGet package but my website is now accepting two country domains and I need to conditionally configure the scoped service with a Google key depending on the domain of the http request. I guess I should first add the scoped service with its parameterless constructor and configure the service with the right key after building the WebApplication on Program.cs. May you publish in the Readme file an example of how to configure it if even possible?

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

No branches or pull requests

1 participant