title: How to trace my Analytics.record() event sent to AWS Personalize?
body: <p>I am trying to emit an event of type 'Identify' to AWS-Personalize. However there is no provision to see events other than types: Session Start and Session End inside AWSPinpoint</p>
  
  <p>Also tried editing Pinpoint policy to enable it use .record() api as shown here... <a href="https://aws-amplify.github.io/docs/js/analytics#update-your-iam-policy" rel="nofollow noreferrer">https://aws-amplify.github.io/docs/js/analytics#update-your-iam-policy</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>Amplify.Auth.currentUserCredentials()
    .then((user) =&gt; {
      setCookie("COGNITO_ID", user.identityId);
      Analytics.record({
        eventType: "Identify",
        properties: {
          "userId": user.identityId,
       }
      }, 'AmazonPersonalize');
    })
    .catch(e =&gt; console.log(e));</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am able to get the identityId however, I don't see any event recorded at the Event Tracker inside AWS Personalize. All I can see is Session Start and Session End events inside Pinpoint</p>