Mobile app version of vmapp.org
Login or Join
Cugini213

: Google Analytics for cookie-based A/B testing (same URL for A and B) I have a website with share-friendly URLs like example.com/register I implemented A/B testing as a cookie because I don't

@Cugini213

Posted in: #ABTesting #Cookie #GoogleAnalytics #Url

I have a website with share-friendly URLs like example.com/register

I implemented A/B testing as a cookie because I don't want ugly unsharable URLs like example.com/registerA and example.com/registerB.

What is the best practice to see A/B testing in Google Analytics, even though the URL is the same?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cugini213

1 Comments

Sorted by latest first Latest Oldest Best

 

@Martha676

Google's Content Experiments is meant for separate A/B URLs, but it can be hacked to use the same URL, as described in this article.

The general idea is to:


Use the usual Content Experiments wizard,
Fill the 2 A/B URL fields with dummy URLs,
Insert JavaScript code to modify page content on the client side.


Thanks Eike for the link!

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme