Answers.Body: <p>Yes, adjusting and using the Unsupervised rule is your best bet to prevent this from continuing.  My philosophy for deduplication is I would rather default to having extra duplicate contacts that I can clean up later than having two people become intertwined and, as you've experienced, can be rather sticky to separate.</p>
  <p><strong>Ideas</strong></p>
  <p>There are a few ideas thrown around in the comments of this question: <a href="https://civicrm.stackexchange.com/questions/6409/dedupe-rule-not-working/6413">Dedupe Rule not working</a>. (Full disclosure: I have an answer on that question). Lesley also has a great recipe in her initial comment to you up above.</p>
  <p><strong>Best write up about deduplication</strong></p>
  <p>The best free resource for Deduplication understanding and recipes is this blog post by spidersilk: <a href="https://civicrm.org/blogs/spidersilk/understanding-civicrm-dedupe-rules" rel="nofollow noreferrer">Understanding CiviCRM Dedupe Rules</a>. Section 6 is titled 'Some Recommended Rule Recipes' and section 11 is 'Tips for Setting up Effective Dedupe Rules'.  The whole article is excellent, but for a tldr; those sections are great.</p>
  <p><strong>An Extension that could help</strong></p>
  <p>The <a href="https://civicrm.org/extensions/no-overwrite" rel="nofollow noreferrer">No Overwrite extension</a> can help with accidental over-writes in certain cases and might be worth installing.  We have it installed on our CiviCRM setup.</p>
  <p><strong>How we do it</strong></p>
  <p>Lastly, just for another example, we have a lot of children in our organization being registered. A parent will often use his/her own email address to register a child, so we had to come up with a way that was more than just email.  Our unsupervised rule is as follows:</p>
  <blockquote>
  <p>First Name; Length - 4; Weight - 5.</p>
  <p>Last Name; Length - blank; Weight - 5.</p>
  <p>Birth Date; Length - blank; Weight - 10.</p>
  <p>Email; Length - blank; Weight - 10.</p>
  <p>Weight threshold - 20</p>
  </blockquote>
  <p>This allows matching if the birth date and email address are the same (the only scenario this doesn't work is identical twins, and I'm okay with that risk).  Also, if this is a normal adult registration (and adults normally don't provide their birth date), we can still have a match based on first four characters of the first name, the last name matching, and the email matching.</p>
  <p>This catches a lot of duplicates, but certainly not all of them.  Thomas Smith and Tom Smith with the same email address is probably going to be the same person, but our rule will not catch it.  And I'm okay with that.  Again, I'd rather have extra duplicate contacts than incorrectly intertwined contacts.  As a matter of practice, every month or so we manually run General dedupe rules that are &quot;Email only&quot; or &quot;First Name and Last Name&quot; to catch the extra duplicates.  Yes, it's manual work, but it's way easier to take the time for that than separating two people who were not in fact the same.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-19T17:48:52.150Z
Answers.LastActivityDate: 2015-12-19T18:03:54.540Z
Answers.LastEditDate: 2020-06-17T09:00:50.810Z
Answers.UserDisplayName: Allen Hutchison
Body: <p>Due to using the same email, we have had tons of event contacts histories overwritten with another contact name besides duplicate name entries during registration of events.  With the upgrade to 4.6.10 I am monitoring same.  Currently I am still finding duplicate contact names in the system.  I am unsure of overwritten accounts until such a time where I discover same.  I know there is a few drop downs under duplicate emails in events/on-line registrations.  Which is the best to check off?  Right now it is on unsupervised.  Under Events-on line registration we also have checked off register multiple participants and same email address.</p>
  
  <p>I have to go back 9 years to fix all records.  I would like to not have to do this anymore.</p>
  
  <p>@Lesley Carter-BackOfficeI messed with the dedupe and things are now messed up, got this error:</p>
  
  <p>An error has occurred.
   0   @import url(/administrator/components/com_civicrm/civicrm/css/civicrm.css); @import url(/administrator/components/com_civicrm/civicrm/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css);    Sorry but we are not able to provide this at the moment. Supervised rule for Organization does not exist <p><a href="http://www.nyswda.org/administrator/" rel="nofollow" title="Main Menu">Return to home page.</a></p>    function toggle( element ) { var className = element.className; if ( className == 'crm-accordion-wrapper collapsed crm-fatal-error-details-block') { element.className = 'crm-accordion-wrapper crm-fatal-error-details-block'; } else { element.className = 'crm-accordion-wrapper collapsed crm-fatal-error-details-block'; } } </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-18T18:09:56.147Z
Comments.Text: Hi - how is your unsupervised rule currently set?  If it is still on what I think is the default setting (which is just emailed), you will want to create a better unsupervised rule - perhaps first name (5), last name (5), email (5) with a threshold of 15, which would mean that all three of those items would have to match to be considered a duplicate.  Civi's info about setting up deduping rules can be found here: http://book.civicrm.org/user/current/common-workflows/deduping-and-merging/
Comments.UserDisplayName: Lesley Carter - BackOffice
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-19T17:20:51.020Z
Comments.Text: @LesleyCarter-BackOffice, that's a great response.  You should move that to an answer.
Comments.UserDisplayName: Allen Hutchison
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-08T13:48:04.980Z
Comments.Text: is there a list of default settings I can check all my dedupes to?
Comments.UserDisplayName: lilalynn
Tags: <civievent>
Title: Event Registration-Duplicate names, Overwrite on Contact Records
ThreadText: # Event Registration-Duplicate names, Overwrite on Contact Records
  
  (Asked by: username_0 on 2015-12-18)
  
  Due to using the same email, we have had tons of event contacts histories overwritten with another contact name besides duplicate name entries during registration of events. With the upgrade to 4.6.10 I am monitoring same. Currently I am still finding duplicate contact names in the system. I am unsure of overwritten accounts until such a time where I discover same. I know there is a few drop downs under duplicate emails in events/on-line registrations. Which is the best to check off? Right now it is on unsupervised. Under Events-on line registration we also have checked off register multiple participants and same email address.
  
  I have to go back 9 years to fix all records. I would like to not have to do this anymore.
  
  @username_1 Carter-BackOfficeI messed with the dedupe and things are now messed up, got this error:
  
  An error has occurred.
  0 @import url(/administrator/components/com\_civicrm/civicrm/css/civicrm.css); @import url(/administrator/components/com\_civicrm/civicrm/bower\_components/jquery-ui/themes/smoothness/jquery-ui.min.css); Sorry but we are not able to provide this at the moment. Supervised rule for Organization does not exist
  
  [Return to home page.](http://www.nyswda.org/administrator/ "Main Menu")
  
  function toggle( element ) { var className = element.className; if ( className == 'crm-accordion-wrapper collapsed crm-fatal-error-details-block') { element.className = 'crm-accordion-wrapper crm-fatal-error-details-block'; } else { element.className = 'crm-accordion-wrapper collapsed crm-fatal-error-details-block'; } }
  
  **Tags:** civievent
  
  > **Comments:**
  > **username_1**: Hi - how is your unsupervised rule currently set?  If it is still on what I think is the default setting (which is just emailed), you will want to create a better unsupervised rule - perhaps first name (5), last name (5), email (5) with a threshold of 15, which would mean that all three of those items would have to match to be considered a duplicate.  Civi's info about setting up deduping rules can be found here: http://book.civicrm.org/user/current/common-workflows/deduping-and-merging/  
  > **username_2**: @username_1, that's a great response.  You should move that to an answer.  
  > **username_0**: is there a list of default settings I can check all my dedupes to?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-12-19. Score: 2
  
  Yes, adjusting and using the Unsupervised rule is your best bet to prevent this from continuing. My philosophy for deduplication is I would rather default to having extra duplicate contacts that I can clean up later than having two people become intertwined and, as you've experienced, can be rather sticky to separate.
  
  **Ideas**
  
  There are a few ideas thrown around in the comments of this question: [Dedupe Rule not working](https://civicrm.stackexchange.com/questions/6409/dedupe-rule-not-working/6413). (Full disclosure: I have an answer on that question). username_1 also has a great recipe in her initial comment to you up above.
  
  **Best write up about deduplication**
  
  The best free resource for Deduplication understanding and recipes is this blog post by spidersilk: [Understanding CiviCRM Dedupe Rules](https://civicrm.org/blogs/spidersilk/understanding-civicrm-dedupe-rules). Section 6 is titled 'Some Recommended Rule Recipes' and section 11 is 'Tips for Setting up Effective Dedupe Rules'. The whole article is excellent, but for a tldr; those sections are great.
  
  **An Extension that could help**
  
  The [No Overwrite extension](https://civicrm.org/extensions/no-overwrite) can help with accidental over-writes in certain cases and might be worth installing. We have it installed on our CiviCRM setup.
  
  **How we do it**
  
  Lastly, just for another example, we have a lot of children in our organization being registered. A parent will often use his/her own email address to register a child, so we had to come up with a way that was more than just email. Our unsupervised rule is as follows:
  
  > First Name; Length - 4; Weight - 5.
  >
  > Last Name; Length - blank; Weight - 5.
  >
  > Birth Date; Length - blank; Weight - 10.
  >
  > Email; Length - blank; Weight - 10.
  >
  > Weight threshold - 20
  
  This allows matching if the birth date and email address are the same (the only scenario this doesn't work is identical twins, and I'm okay with that risk). Also, if this is a normal adult registration (and adults normally don't provide their birth date), we can still have a match based on first four characters of the first name, the last name matching, and the email matching.
  
  This catches a lot of duplicates, but certainly not all of them. Thomas Smith and Tom Smith with the same email address is probably going to be the same person, but our rule will not catch it. And I'm okay with that. Again, I'd rather have extra duplicate contacts than incorrectly intertwined contacts. As a matter of practice, every month or so we manually run General dedupe rules that are "Email only" or "First Name and Last Name" to catch the extra duplicates. Yes, it's manual work, but it's way easier to take the time for that than separating two people who were not in fact the same.
  
  
  ---
  
  