embed intercom logic