Migrating events and linking to contacts

Migrating events and linking to contacts

I am having problems migrating my events from my old CRM.

I can not get them to link correctly to the contact.   When I migrated I have tried putting the contact name in contact name and related to and also tried using the contact id but neither is working. 

Any help appreciated