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

SGM-6993 - Custom event instrumentation for PostHog #7028

Merged
merged 2 commits into from
Jul 1, 2024
Merged

SGM-6993 - Custom event instrumentation for PostHog #7028

merged 2 commits into from
Jul 1, 2024

Conversation

gitstart-app[bot]
Copy link
Contributor

@gitstart-app gitstart-app bot commented Jun 21, 2024

This PR was created by GitStart to address the requirements from this ticket: SGM-6993.
This ticket was imported from: SGM-6993


Description:

Sets up custom event capture for the website using PostHog.

Events captured:

Each custom event requires an event name, and also in some cases custom properties for each event were captured. Check detailed documentation here: https://docs.google.com/document/d/1Lw3cJw6ZKsKoJff9ahYtX_Dg_ucZFnMDzgGc9qgBMg0/edit

DEMO:

https://www.loom.com/share/0040c2caa4a8453881c76f47ad37186e?sid=d358076a-5f25-41c4-94cb-890cfdcf6ad2

Test cases:

  • All documented events are captured and displayed in the posthog account activity logs

  • Each click is tracked and captured as requested in the documentation

  • Eventnames match what was requested in the documentation

  • Current page / position is returned in the captured event on the posthog activity section

Test plan:

-Login to the posthog account at https://us.posthog.com/

-Request login credentials from PM or TM

-Donot submit the form on "contact/request-info"

-Check demo video for testing scenarios

Copy link

netlify bot commented Jun 21, 2024

Deploy Preview for sourcegraph ready!

Name Link
🔨 Latest commit c1bbc44
🔍 Latest deploy log https://app.netlify.com/sites/sourcegraph/deploys/667b34db0ba9a500089b5ba8
😎 Deploy Preview https://deploy-preview-7028--sourcegraph.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@gitstart-sourcegraph gitstart-sourcegraph self-assigned this Jun 21, 2024
@gitstart-sourcegraph gitstart-sourcegraph linked an issue Jun 21, 2024 that may be closed by this pull request
iskyOS
iskyOS previously approved these changes Jun 21, 2024
Copy link
Contributor

@iskyOS iskyOS left a comment

Choose a reason for hiding this comment

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

Tested functionality and data to PH, lgtm on that side

@iskyOS iskyOS merged commit 09d43dd into main Jul 1, 2024
6 checks passed
@iskyOS iskyOS deleted the SGM-6993 branch July 1, 2024 15:13
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.

Custom event instrumentation for PostHog
2 participants