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

Disable merge identified contacts by tracking code #7726

Open
wants to merge 6 commits into
base: staging
from

Conversation

@kuzmany
Copy link
Contributor

commented Jul 26, 2019

Please be sure you are submitting this against the staging branch.

Q A
Bug fix?
New feature?
Automated tests included?
Related user documentation PR URL
Related developer documentation PR URL
Issues addressed (#s or URLs)
BC breaks?
Deprecations?

Description:

This PR added new option to configuration to disable merge identified contacts from tracking code. This is helpful for shared computers. This allow switch contact/or create new one if not same like current tracked contact.

image

Steps to test this PR:

  1. Load up this PR
  2. Enable new option in configuration > Trackign settings > Disable merge identified contacts
  3. Enable Publicly updatable for unique custom fields (email propably)
  4. Create page with tracking code and use

mt('send', 'pageview', {email: 'test@gmail.com'});

See test@gmail.com is created and should be tracked contact now (check mtc_id cookie)

  1. Change tracking code to another email address:

mt('send', 'pageview', {email: 'test2@gmail.com'});

See test2@gmail.com is created should be tracked contact now (check changed mtc_id cookie)

  1. Change tracking code to email address from step 4:

mt('send', 'pageview', {email: 'test@gmail.com'});

See test@gmail.com is updated and should be tracked contact now (check mtc_id cookie)

@kuzmany kuzmany added this to the 2.16.0 milestone Jul 26, 2019

@kuzmany kuzmany changed the title Merge contacts feature Disable merge identified contacts by tracking Jul 26, 2019

@kuzmany kuzmany changed the title Disable merge identified contacts by tracking Disable merge identified contacts by tracking code Jul 26, 2019

@stevedrobinson

This comment has been minimized.

Copy link

commented Jul 31, 2019

Tested and worked as described.

This is a huge help for a client of ours who keeps seeing records "disappear" from their database because they are merged inappropriately when their audience uses other people's email addresses in unexpected places.

kuzmany added some commits Aug 2, 2019

@atbrowne

This comment has been minimized.

Copy link
Contributor

commented Aug 12, 2019

Tested.

While contact details are no longer merged incorrectly tracking information i.e. page hit history is still merged incorrectly making the feature's usefulness limited as it is currently.

@kuzmany

This comment has been minimized.

Copy link
Contributor Author

commented Aug 13, 2019

@atbrowne don't understand.

@atbrowne

This comment has been minimized.

Copy link
Contributor

commented Aug 13, 2019

@kuzmany following your testing steps upon executing step 5 all test@gmail.com's page hits are transferred to test2@gmail.com. See the included image:
page-hit-merge

@npracht npracht added this to Ready to Test (first time) in Mautic 2 Aug 15, 2019

@kuzmany

This comment has been minimized.

Copy link
Contributor Author

commented Aug 20, 2019

@atbrowne how did you test it? Did you change your configuration? Clear cache?
Can you re-test it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.