Skip to content

Configuring GTAG_ID upon http request hostname domain #63

@matiasmasso

Description

@matiasmasso

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions