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

Add analytics to track when an installation is created from Github #1381

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

zacck-zz
Copy link
Member

@zacck-zz zacck-zz commented Mar 7, 2018

What's in this PR?

In this PR We are tracking when installations are created from GitHub, This enables us to track installations that don't begin with the Code Corps website as an entry point. At the moment this is just tracking the installation however later we should add tracking for the event that this user creates an account on the website

Make sure any changes to code include changes to documentation.

References

Fixes #1038

Progress on: #1105

Copy link
Contributor

@begedin begedin left a comment

Choose a reason for hiding this comment

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

I'm sorry we had a misunderstanding here, but while the tracking is correct, it would preferable if it were to happen as, the end of the transaction that handles the installation_created event.

That means, in the Sync module, when you have the outcome of  Repo.transaction(multi).

That would ensure we do not track at a point where the process might still fail and makes the behavior as explicit and clear as it can be.

@zacck-zz
Copy link
Member Author

cool will handle this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants