title: How to modify page URL in Google Analytics
body: <p>How can you modify the URL for the current page that gets passed to Google Analytics?  </p>
  
  <p>(I need to strip the extensions from certain pages because for different cases a page can be requested with or without it and GA sees this as two different pages.)  </p>
  
  <p>For example, if the page URL is <code>http://mysite/cake/ilikecake.html</code>, how can I pass to google analytics <code>http://mysite/cake/ilikecake</code> instead?</p>
  
  <p>I can strip the extension fine, I just can't figure out how to pass the URL I want to Google Analytics.  I've tried this, but the stats in the Google Analytics console don't show any page views:</p>
  
  <blockquote>
    <p>pageTracker._trackPageview('cake/ilikecake');</p>
  </blockquote>
  
  <p>Thanks,
  Mike</p>