To record an event, create a `BasicAnalyticsEvent` and then call `Amplify.Analytics.record(event:)`

import ios0 from "/src/fragments/lib/analytics/ios/record-event-code.mdx";

<Fragments fragments={{ios: ios0}} />