title: Integrating Google Analytics on an intermediary 301 going to a booking engine and coming from Flash?
body: <p>I have a flash booking widget which I do not have the source code for, which goes to an intermediary page which should go to a booking engine ( I have not programmed it yet ).</p>
  
  <p>I am looking to implement cross-domain GA tracking on the intermediary page, because I do not control the flash booking widget. It just goes to <code>redirect.php</code> with parameters that should be fed to the booking engine.</p>
  
  <p>I've come across these answers:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/8668773/http-referrer-on-redirection">HTTP Referrer on Redirection</a></li>
  <li><a href="https://stackoverflow.com/questions/2954799/process-data-before-a-301-redirect">Process data BEFORE a 301 Redirect?</a></li>
  <li><a href="https://stackoverflow.com/questions/9506669/track-a-redirect-page-with-google-analytics">track a redirect page with google analytics</a></li>
  </ul>
  
  <p>But there's really no definitive solution for this. Has anyone come across a similar dilemma, and if so could you share how you integrated the tracking?</p>
  
  <p>Specific questions:</p>
  
  <ul>
  <li>The new google code uses an asynchronous method, but can I bind an event handler to invoke itself, which can do a <code>location.href</code> setting, after the page has been tracked?</li>
  </ul>