-
Notifications
You must be signed in to change notification settings - Fork 2k
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
PubxAi Analytics Adapter : code cleanup and additional data collection #11425
Conversation
remove empty line
linting changes
PTOW-2 pubx.ai analytics adapter
PTOW-2-fix-linting-errors
PTOW-2 fixing tests
fixing bugs, modifying blob behaviour, addressing browser compatibility
@ChrisHuie All the tests have passed already. Anything else needed from our end? Thanks. |
switching from sessionStorage to localStorage
Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:
Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀 |
1 similar comment
Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:
Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀 |
@ncolletti @patmmccann I'm not sure what to do to avoid duplication error here. I don't think we can import code from other analytics adapters or if we can move them to a common library. Also, we have fixed the storage issue but sendBeacon is kept as it is instead of switching to fetch-keepalive due to a firefox compatibility issue. Let me know if this works or anything else we need to do. Thanks! |
Please move into a common library, eg this appears to be a direct copy, not sure of which direction, but both modules could easily import from a common place in the libraries folder: "format": "javascript", |
modifying functions to avoid prebid duplication checker
…to-libraries moving user agent code to libraries
…to-libraries switching to macro substitution for prebid version
Ptow 2 resolving conflicts
'fixing' tests
prebid#11425) * PTOW-2; updates to the pubx analytics adapter * PTOW-2 review actions * PTOW-2 Review actions * PTOW-2 updating pubx.ai analytics version * remove empty line * linting changes * PTOW-2; updates to the pubx analytics adapter * PTOW-2 review actions * PTOW-2 Review actions * PTOW-2 updating pubx.ai analytics version * PTOW-2 resolving conflicts * PTOW-2-fix-linting-errors * PTOW-2 fixing tests * fixing bugs, modifying blob behaviour, addressing browser compatibility * add source field * switching from sessionStorage to localStorage * fixing tests * modifying functions to avoid prebid duplication checker * implementing enums * moving user agent code to libraries * updated return types * switching to macro substitution for prebid version * adding centralised sendBeacon wrapper * 'fixing' tests --------- Co-authored-by: Nathan Oliver <[email protected]> Co-authored-by: tej656 <[email protected]> Co-authored-by: Tej <[email protected]> Co-authored-by: nathan-pubx <[email protected]>
prebid#11425) * PTOW-2; updates to the pubx analytics adapter * PTOW-2 review actions * PTOW-2 Review actions * PTOW-2 updating pubx.ai analytics version * remove empty line * linting changes * PTOW-2; updates to the pubx analytics adapter * PTOW-2 review actions * PTOW-2 Review actions * PTOW-2 updating pubx.ai analytics version * PTOW-2 resolving conflicts * PTOW-2-fix-linting-errors * PTOW-2 fixing tests * fixing bugs, modifying blob behaviour, addressing browser compatibility * add source field * switching from sessionStorage to localStorage * fixing tests * modifying functions to avoid prebid duplication checker * implementing enums * moving user agent code to libraries * updated return types * switching to macro substitution for prebid version * adding centralised sendBeacon wrapper * 'fixing' tests --------- Co-authored-by: Nathan Oliver <[email protected]> Co-authored-by: tej656 <[email protected]> Co-authored-by: Tej <[email protected]> Co-authored-by: nathan-pubx <[email protected]>
Type of change
Description of change
Code cleanup and refactoring, renaming of fields, and additional data collection as part of analytics.