: Google Analytics Experiment -- How to test shopping cart We have: GET landing.html (then select a production) POST cart1.php (then select options) POST cart2.php (then enter billing
We have:
GET landing.html (then select a production)
POST cart1.php (then select options)
POST cart2.php (then enter billing info)
POST cart3.php (will process payment and then redirect
GET thankyou.html
I want to run an experiment on cart2.php to increase conversions.
How do I do this in Google Analytics?
UPDATE:
If I do the basic tracking, I lose the transaction details. For example, here is:
A simple form (that leads into a shopping cart)
An original shopping cart page 1
An experimental shopping cart page 1
====================
This is an example of the cart that will not work with Analytics:
=== 1.php ===
<form action="2.php" method="get">
<input name="name">
<button>GO</button>
</form>
=== 2.php ===
<html>
<head>
<!-- Google Analytics Content Experiment code SNIP -->
<!-- Google Analytics Tracking code SNIP -->
</head>
<body>
<p>2</p>
</body>
</html>
=== 2b.php ===
<html>
<head>
<!-- Google Analytics Tracking code SNIP -->
</head>
<body>
<p>2b</p>
</body>
</html>
More posts by @BetL925
1 Comments
Sorted by latest first Latest Oldest Best
Set up a Google Analytics account and implement the code on your website. Then cross-check that it's tracking your site correctly. If done right, head over to "Experiments":
Enter the URL of the page you'd like to run your test on:
After which you are presented with this:
Now you simply add another variant of your cart2.php page there and let Google Analytics figure out which does better ... That is all.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.