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

Update Segment url intercepts for fetch-based Segment JS API #1365

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

bryanlandia
Copy link

Change description

The analytics.js API from CDN started using fetch instead of XHR on March 1 2023.

Replace custom Appsembler code which does the replication of frontendJS events to ours and customer's Segment backends.

Override fetch calls to swap api.segmentio calls with Open edX /segmentio/send/* requests

Type of change

  • Bug fix (fixes an issue)
  • New feature (adds functionality)

Related issues

https://appsembler.atlassian.net/browse/ENG-20

Checklists

Development

  • Lint rules pass locally
  • Application changes have been tested thoroughly
  • Automated tests covering modified code pass

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

Code review

  • Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
  • "Ready for review" label attached and reviewers assigned
  • Changes have been reviewed by at least one other contributor
  • Pull request linked to task tracker where applicable

The analytics.js API from CDN started using fetch instead of XHR on March 1 2023.
Replace custom Appsembler code which does the replication of frontendJS events to ours and customer's Segment backends
Override fetch calls to swap api.segmentio calls with Open edX /segmentio/send/* requests
@github-actions
Copy link

Checking git merge conflicts against https://github.com/edx/edx-platform.git

Comparing with open-release/nutmeg.master
Benchmark conflicts with main 299
Current conflicts 299
Summary Good work! No added conflicts.
Comparing with master
Benchmark conflicts with main 312
Current conflicts 312
Summary Good work! No added conflicts.

@bryanlandia bryanlandia merged commit 089d68f into main Aug 29, 2023
11 checks passed
@bryanlandia bryanlandia deleted the bugfix/fix-segment-replication-for-fetch-js branch August 29, 2023 16:49
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.

2 participants