Skip to content

[TEAM] ONCEHUB-98709 Prevents processing of 'Email sent to guest' tracking events when the destination is mixpanel.#92

Merged
ArjavJain27 merged 1 commit intotechnocrats/masterfrom
technocrats/ONCEHUB-98709-team
Jun 17, 2025
Merged

[TEAM] ONCEHUB-98709 Prevents processing of 'Email sent to guest' tracking events when the destination is mixpanel.#92
ArjavJain27 merged 1 commit intotechnocrats/masterfrom
technocrats/ONCEHUB-98709-team

Conversation

@ArjavJain27
Copy link

What are the changes introduced in this PR?

This pull request introduces a small change to the oncehubTransformer function in src/util/oncehub-custom-transformer.js. The change adds a condition to return null for specific events (Email sent to guest) when the destination is mixpanel.
https://scheduleonce.atlassian.net/browse/ONCEHUB-98709

Write a brief explainer on your code changes.

What is the related Linear task?

Resolves INT-XXX

Please explain the objectives of your changes below

Put down any required details on the broader aspect of your changes. If there are any dependent changes, mandatorily mention them here

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

N/A

Any new dependencies introduced with this change?

N/A

Any new generic utility introduced or modified. Please explain the changes.

N/A

Any technical or performance related pointers to consider with the change?

N/A

@coderabbitai review


Developer checklist

  • My code follows the style guidelines of this project

  • No breaking changes are being introduced.

  • All related docs linked with the PR?

  • All changes manually tested?

  • Any documentation changes needed with this change?

  • Is the PR limited to 10 file changes?

  • Is the PR limited to one linear task?

  • Are relevant unit and component test-cases added in new readability format?

Reviewer checklist

  • Is the type of change in the PR title appropriate as per the changes?

  • Verified that there are no credentials or confidential data exposed with the changes.

@ArjavJain27 ArjavJain27 self-assigned this Jun 16, 2025
@ArjavJain27 ArjavJain27 reopened this Jun 17, 2025
Replaces hardcoded event blocking logic with a dynamic,
location-based blacklist parsed from environment variables.
@ArjavJain27 ArjavJain27 force-pushed the technocrats/ONCEHUB-98709-team branch from f6dd1df to dcecef6 Compare June 17, 2025 07:09
@ArjavJain27 ArjavJain27 merged commit 51118cf into technocrats/master Jun 17, 2025
3 of 9 checks passed
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