Google Analytics goals not tracking PayPal transaction in Prestashop
If you are running a Prestashop 1.5+ store and also using Google Analytics then you should be using Goals to track your sales.
When you create a goal you can use a few different methods of matching the URL.
The standard order confirmation page can be matched by using ‘Begins with’ in your Goal set up. Simply enter the following URL part:
/index.php?controller=order-confirmation
If, however, you use PayPal as one of your payment providers then you will need to select ‘Match by regular expression’ and use the following expression:
(/module/paypal/submit\?key=|/index\.php\?controller=order-confirmation)
The reason for this is because PayPal sends the customer to a different confirmation page. So we need to include both URLs in the one goal.
