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

OTT-192: Ensure sURL (Event Tracker) and orig (OW Logger) parameter values are consistent #160

Merged
merged 2 commits into from
May 24, 2021
Merged

Conversation

Pubmatic-Dhruv-Sonone
Copy link
Collaborator

OTT-192: Ensure sURL (Event Tracker) and orig (OW Logger) parameter values are consistent

@@ -534,3 +535,20 @@ func extractDomain(rawURL string) (string, error) {
// remove www if present
return strings.TrimPrefix(url.Hostname(), "www."), nil
}

func getDomain(request *openrtb2.BidRequest) string {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Pass the Site Object

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

Copy link
Collaborator

@pm-viral-vala pm-viral-vala left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants