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

Implemented campaigns and tests in style of EventInfo tests #70

Conversation

EPNW-Eric
Copy link
Contributor

We want to distinguish between app entries by clicking on a notification and normal launches. After reading a bit more about the different tracking techniques we figured that we should model these entires using acquisition channels. Therefor, we need campaigns.

The idea was now to add an optional campaign parameter to trackScreenWithName calls and the TraceableClientMixin.

This time, I tried to provide some tests and took the tests for EventInfo as orientation, since the new Campaign class is also just a data object for most parts.

@TesteurManiak TesteurManiak added the enhancement New feature or request label May 10, 2023
@TesteurManiak
Copy link
Member

I've added an utility method which simplifies a bit error checking this might help reduce the boilerplate in Campaign: 1d83bec

@EPNW-Eric
Copy link
Contributor Author

I will incorporate that 👍

Copy link
Member

@TesteurManiak TesteurManiak left a comment

Choose a reason for hiding this comment

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

LGTM! But we should wait for #68 to be merged first

@TesteurManiak TesteurManiak self-assigned this May 10, 2023
@TesteurManiak TesteurManiak deleted the branch Floating-Dartists:refactor/#65_update-parameters May 10, 2023 12:26
@TesteurManiak
Copy link
Member

Oops sorry @EPNW-Eric, seems like your PRs targeting #65_update-parameters have been closed with its merge in dev (you might be able to re-open it by targeting dev)

@EPNW-Eric
Copy link
Contributor Author

Will do so 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants