Tracking the different variants using Google analytics requires a slight modification of your tracking script
Replace the line below in your Google Analytics script
ga('send', 'pageview');
with this
ga('send', 'pageview', document.location.pathname + window.ub.page.variantId + window.location.search);