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

Pubperf analytics adapter added. #5550

Merged
merged 2 commits into from
Aug 3, 2020

Conversation

doubaokun
Copy link
Contributor

Type of change

  • Feature

Description of change

New prebid.js analytics adapter.

Other information

@jeanstemp
Copy link

Docs PR: prebid/prebid.github.io#2166

Copy link
Contributor

@Fawke Fawke left a comment

Choose a reason for hiding this comment

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

Hi @doubaokun,

Thanks for the PR. I've gone through the code and it looks alright. I just have one question.

Why aren't you using passing global and handler to the analytics interface call. Instead of overriding the track function, you can make your code a lot more shorter. Refer to appnexusAnalyticsAdapter.js to get more context on this.

And, can you please make your test coverage at least 80 percent? Currently it's 66.67%

@doubaokun
Copy link
Contributor Author

@Fawke Thanks for the review, the code is updated based on the suggestion. Test coverage is increased above 80%.

@doubaokun doubaokun requested a review from Fawke July 31, 2020 15:13
@Fawke Fawke merged commit a0cc8e6 into prebid:master Aug 3, 2020
@Fawke Fawke added LGTM and removed needs update labels Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants