Mobile app version of vmapp.org
Login or Join
BetL925

: 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

@BetL925

Posted in: #ABTesting #GoogleAnalytics

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>

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @BetL925

1 Comments

Sorted by latest first Latest Oldest Best

 

@Deb1703797

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme