title: Set up identifying a user for Appcues in a ReactJS project
body: <p>I am trying to set up Appcues in a ReactJS project and the <a href="https://my.appcues.com/install/30716" rel="noreferrer">documentation</a> states to add the following to identify the current user:</p>
  
  <pre><code>  Appcues.identify({UNIQUE_USER_ID}, { // Unique identifier for current user
      name: "John Doe",   // Current user's name
      email: "john.doe@example.com", // Current user's email
      created_at: 1234567890,    // Unix timestamp of user signup date    
    });
  </code></pre>
  
  <p>However, this throws the error that:</p>
  
  <blockquote>
    <p>'Appcues' is not defined   </p>
  </blockquote>
  
  <p>This error makes sense to me since the object, <code>Appcues</code>, is referenced but not imported or created.  </p>
  
  <p><strong>Attempt to fix:</strong></p>
  
  <p>Since Appcues is imported from a <a href="https://my.appcues.com/install/30716" rel="noreferrer">script</a>, I tried accessing <code>Appcues</code> through the <code>window</code>, but it results in my demo not being loaded when I go to my project in the browser:</p>
  
  <pre><code>  window.Appcues.identify({UNIQUE_USER_ID}, { // Unique identifier for current user
      name: "John Doe",   // Current user's name
      email: "john.doe@example.com", // Current user's email
      created_at: 1234567890,    // Unix timestamp of user signup date    
    });
  </code></pre>
  
  <p><strong>Does anyone understand how to set up identifying a user for Appcues in a ReactJS project?</strong></p>