{"action":"closed","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/3326","repository_url":"https://api.github.com/repos/mautic/mautic","labels_url":"https://api.github.com/repos/mautic/mautic/issues/3326/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/3326/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/3326/events","html_url":"https://github.com/mautic/mautic/issues/3326","id":204596221,"number":3326,"title":"How to merge Tracked Anonymous with Untracked Contact (created with API)?","user":{"login":"iadj","id":8861459,"avatar_url":"https://avatars.githubusercontent.com/u/8861459?v=3","gravatar_id":"","url":"https://api.github.com/users/iadj","html_url":"https://github.com/iadj","followers_url":"https://api.github.com/users/iadj/followers","following_url":"https://api.github.com/users/iadj/following{/other_user}","gists_url":"https://api.github.com/users/iadj/gists{/gist_id}","starred_url":"https://api.github.com/users/iadj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iadj/subscriptions","organizations_url":"https://api.github.com/users/iadj/orgs","repos_url":"https://api.github.com/users/iadj/repos","events_url":"https://api.github.com/users/iadj/events{/privacy}","received_events_url":"https://api.github.com/users/iadj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-01T14:20:58Z","updated_at":"2017-02-02T01:05:31Z","closed_at":"2017-02-02T01:05:31Z","body":"I want to use unique user ids (generated for each registered user on my website) to identify the user in Mautic.\r\n\r\nAfter a user registers to my website, the Mautic contact is created using the API, and contains the registered user's unique User ID in its data (as a custom field).\r\n\r\nIn short:\r\n1. If the user is not authenticated, track by cookie. When the user registers, create Contact in Mautic.\r\n2. Merge the previously Anonymous contact (tracked by cookie) with the newly authenticated user.\r\n3. Continue to track the user by the website's User ID (which is saved in a Mautic Contact custom field)."}}
{"actor":{"display_login":"iadj"}}