<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 09:37:54 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Google Analytics Goal Funnels for Magento One Page Checkout - TheJasonParker</title>
      <link>https://snipplr.com/view/65292/google-analytics-goal-funnels-for-magento-one-page-checkout</link>
      <description>&lt;p&gt;Fooman GoogleAnalyticsPlus:&#13;
http://www.magentocommerce.com/magento-connect/fooman-googleanalyticsplus.html&#13;
&#13;
The key to seeing the different steps in your checkout is ensuring a page view is triggered each time one of the sections of the checkout is loaded. To do this we need to edit opcheckout.js this file should be in \skin\frontend\default\YOURTHEME\js if not then copy it there from \skin\frontend\base\default\js&#13;
&#13;
Within this file search for â€œgotoSection: function(section)â€ to find the function we are interested in amending and add in the lines of code shown below.&#13;
&#13;
If you are using the old analytics code then you will need to remove the slashes from the line â€œ//pageTrackerâ€¦.â€ and comment out (add a double slash to the beginning of) the line beginning â€œ_gaq.pushâ€¦â€.&#13;
&#13;
Google Analytic Gaol Setup&#13;
Goal Type: URL Destination&#13;
Match Type: Head Match&#13;
Goal URL: /checkout/onepage/success/&#13;
&#13;
Step 1&#13;
URL: /checkout/onepage/&#13;
Name: Login or Register&#13;
Step 2&#13;
URL: /checkout/onepage/billing/&#13;
Name: Billing Address&#13;
Step 3&#13;
URL: /checkout/onepage/shipping/&#13;
Name: Shipping Address&#13;
Step 4&#13;
URL: /checkout/onepage/shipping_method/&#13;
Name: Shipping Method&#13;
Step 5&#13;
URL: /checkout/onepage/payment/&#13;
Name: Payment Details&#13;
Step 6&#13;
URL: /checkout/onepage/review/&#13;
Name: Confirmation&lt;/p&gt;</description>
      <pubDate>Thu, 31 May 2012 21:19:44 UTC</pubDate>
      <guid>https://snipplr.com/view/65292/google-analytics-goal-funnels-for-magento-one-page-checkout</guid>
    </item>
  </channel>
</rss>
