After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Google Analytics and WorldPay - Tracking Sales/Conversions
-
Hi there,
I recently remember reading somewhere that tracking code could be used to monitor sales/conversions of eCommerce payments that went through WorldPay.
I've been looking around the web for news stories, forums, discussions, but all seem to be from 2007 - 2011; was just wondering if anyone knew any up-to-date info they could point me towards?
Thanks
-
The "idea" is still valid. You need a "Thank You" page that actually sends the transaction details to Analytics. Users must be redirected to that page after completing the payment, and I guess the return URL is just a variable you set while sending the order details to Worldpay (look into their docs for that: return url).
Then, in the "thank you" page you trace the order and create the analytics ecommerce call (with any programing language) depending on the version of Analytics you are using, it could be the ga (ga('require','ecommerce','ecommerce.js'); and then the rest of the transaction details) or the older _TrackTrans() (after the rest of the transaction details).
Hope that helps!
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Explore more categories
-
Chat with the community about the Moz tools.
-
Discuss the SEO process with fellow marketers
-
Discuss industry events, jobs, and news!
-
Chat about tactics outside of SEO
-
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
-