I want to implement MVT (multivariate testing) in my site, and wondered if it's possible to use Google Analytics and some server side code to do this, instead of relying on expensive solutions.
Is there a suggested way to do it?
One idea is to have the server-side code randomly draw a tuple with the element alternatives that will appear, and to set one of the GATC codes (e.g. campaign content) to its string representation. For example, the code draws option #2 for the text and #3 for the image, and sets the campaign content to be 'text2_image3'. It's later easy to analyze the results in Excel or other tools.
Will it work? Any better solutions?
https://github.com/danmaz74/ABalytics is a decent starting point if you'd like to write your own JS