Where to put the Google Analytics Ecommerce script
Hi, I have a solution with paypal payment and the Google analytics ecommerce script on the payment confirmation page. The ucommerce part of the soultion function is perfect, but the problem is that the most of our customers never returnning to the confirmationpage, they leave after the paypal payment is completed. Paypal communicate back to uCommerce so everything is perfect and they get there confirmation e-mail, but we lose the statistic in google analytics.
Any suggestions where to put the script so it will get called?
The best way would be to create a pipeline task that runs after the confirmation e-mail is sent. You could create a node in your content tree that does it and call it with a WebClient. Or you could find out what the javascript is calling and just do it directly with your webclient.
Where to put the Google Analytics Ecommerce script
Hi, I have a solution with paypal payment and the Google analytics ecommerce script on the payment confirmation page. The ucommerce part of the soultion function is perfect, but the problem is that the most of our customers never returnning to the confirmationpage, they leave after the paypal payment is completed. Paypal communicate back to uCommerce so everything is perfect and they get there confirmation e-mail, but we lose the statistic in google analytics.
Any suggestions where to put the script so it will get called?
Hi Kim,
The best way would be to create a pipeline task that runs after the confirmation e-mail is sent. You could create a node in your content tree that does it and call it with a WebClient. Or you could find out what the javascript is calling and just do it directly with your webclient.
Hope that helps. Otherwise let me know!
//Morten
is working on a reply...