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

Integration tests for visitor id vs user id scenarios #22776

Draft
wants to merge 7 commits into
base: 5.x-dev
Choose a base branch
from

Conversation

michalkleiner
Copy link
Contributor

Description:

Please include a description of this change and which issue it fixes. If no issue exists yet please include context and what problem it solves.

Review

$this->trackAction($trackerDevice2, 'log-in', 'user 1');

$this->assertCounts(2, 8, 2);
$this->assertVisitorIdsCount(2); // TODO - discuss with product that new device forms a new visit
Copy link
Member

Choose a reason for hiding this comment

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

Just to mention so we don't forget this detail here:

We do not get two visits with four actions each. The "log-in" action of the second device will be merged into the first visit, so we have one visit with five, and one visit with three actions.

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