-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Updated YuktaMedia Analytics Adapter: updated request body with more details #5547
Conversation
This pull request introduces 2 alerts when merging 917c21a into ec030f4 - view on LGTM.com new alerts:
|
@jsnellbaker / @pm-harshad-mane can you please review changes, approve and merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @shrikantpatwari,
Can you run gulp test
once. I see one of our test cases from adapterManager_spec.js
failing. Here's the screenshot for your reference.
I have fixed broken tests. Can you please review once and merge. Thanks |
Hi @shrikantpatwari, I see that your test coverage is below 80%. Can you include few more unit test cases? |
} | ||
|
||
var yuktamediaAnalyticsAdapter = Object.assign(adapter( | ||
{ | ||
emptyUrl, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why pass an empty url? If you are overriding the track function, I don't think you need to include this property as an argument to the adapter interface call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed emptyUrl. Thanks for improving.
@Fawke I have updated code and test as per sessions, Please review and merge. Thanks. |
Thanks for making those changes. Just two point you may need to look into.
If my understanding is correct, you are sending the event payload to your endpoint for only two events. Is it an oversight or by design?
You can run this command, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for merging |
…details (prebid#5547) * Analytic Adaptor by YuktaMedia * removed optional bid request params * test case modified * Updated YuktaMedia Analytics Adapter as per 3.0 prebid changes * Added api key in circle ci config file * reverted changes * hard coded protocol for the request * Modified request format and parameters * removed polyfill for object.entries and removed Useless assignment to local variable * Added bidId and auctionId in request as well * fixed failing unit tests * dealId captured * Updated code as per recommendation and added tests * addedadditional test case * removed non used variables and functions Co-authored-by: Shrikant Patwari <shrikant.patwari@yuktamedia.com>
…th more details (prebid#5547)" This reverts commit 1a48ad8.
Type of change
Description of change
Fixed issue with information collection related to native ads
Updated code to better understand bid status.
Added utm info collection mechanism
Added local storage based session id
Added user Id collection mechanism
Used sendBeacon method of browser if supported
Added pollyfill for Object.entries and Object.values if not available
Fixed typo of spec file
contact email of the adapter’s maintainer: info@yuktamedia.com, shrikant.patwari@yuktamedia.com
official adapter submission
prebid/prebid.github.io#2165