<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[FunnelEnvy Talk - Medium]]></title>
        <description><![CDATA[Helping marketers make better decisions with data. Account Based Personalization software and Conversion Optimization services. - Medium]]></description>
        <link>https://medium.com/funnelenvy-talk?source=rss----7ead5da1978d---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>FunnelEnvy Talk - Medium</title>
            <link>https://medium.com/funnelenvy-talk?source=rss----7ead5da1978d---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 11:54:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/funnelenvy-talk" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Comparing Pages Per Session Across Variations in Optimizely]]></title>
            <link>https://medium.com/funnelenvy-talk/comparing-pages-per-session-across-variations-in-optimizely-d44e3f6207d?source=rss----7ead5da1978d---4</link>
            <guid isPermaLink="false">https://medium.com/p/d44e3f6207d</guid>
            <category><![CDATA[conversion-optimization]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[marketing]]></category>
            <dc:creator><![CDATA[Nate Selvidge]]></dc:creator>
            <pubDate>Mon, 25 Apr 2016 18:27:16 GMT</pubDate>
            <atom:updated>2016-04-25T18:27:16.387Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sa6l6O2G5fgxgYz2RA2xvw.png" /></figure><p>The tools that Optimizely gives you out of the box are excellent for lead gen or e-commerce sites, and while conversion metrics can and should be used for media sites more often than not you’ll also want to be able to track the effect of any given experiment on pages per session.</p><p>The problem is that Optimizely in most cases will only let you track differences in whether or not a single event happened — a conversion. Optimizely also has built in support for tracking the difference in revenue per visitor, but not for the difference in the average of any other metric that you might be interested in.</p><p>For the purposes of this post I’ll be writing about how to get around that specifically for pages per session, but this can be used for any metric that can be tracked in Google Analytics.</p><h4>Tracking Pages Per Session in Google Analytics</h4><p>To get started, we’ll need to start tracking pages per session as a <strong>dimension</strong> in GA. Google Analytics will already track Pages Per Session as a <strong>metric</strong>, but since we’ll need the distribution in order to perform the analysis of the data we’ll need to track it as a dimension.</p><p>First, we need to create the dimension in GA.</p><p>Open up your Google Analytics account and click on the admin section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hvL4_njY7ZYsUXo6Qn1izA.png" /></figure><p>Next go the the “Property” panel and click on “Custom Definitions” then “Custom Dimensions”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_9pJ8vS8yeeaJ8D0qW_Btg.png" /></figure><p>Click the “+ New Custom Dimension” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TGKliLZpySFOoDbx892T4Q.png" /></figure><p>You can name the dimension whatever you like but for our purposes we’ll call it “Pages Per Session.” Make sure to set the scope to “Session.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JhfRP5Us1IiHm2m5dGBTag.png" /></figure><p>Click “Create” and your pages per session dimension will be ready to go.</p><p>If you haven’t done so already you can also take this opportunity to set up your <a href="https://help.optimizely.com/hc/en-us/articles/200039995-Integrating-Optimizely-with-Google-Universal-Analytics">Optimizely + Google Analytics integration</a> which will also require setting up a custom dimension.</p><p>This part will require a bit of JavaScript. You can deliver this code using the <a href="https://help.optimizely.com/hc/en-us/articles/202480860-Project-Settings-JavaScript-jQuery#project_javascript">Optimizely Project Javascript</a> if you have that available, otherwise you can use <a href="https://www.google.com/analytics/tag-manager/">Google Tag Manager</a> or place the code directly on your site.</p><p>Here’s the tracking snippet:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c75003ca6da859c305187f5ab2eada33/href">https://medium.com/media/c75003ca6da859c305187f5ab2eada33/href</a></iframe><p>This code will create a cookie that counts the number of pages that every visitor to your site looks at and sets the number as the users’ Pages Per Session dimension. In Google Analytics this will mean that the value of this dimension for each user will end up being the number of pages that they saw before leaving.</p><p>Once all of this is in place you’re ready to start your experiment. Make sure that you enable the Google Analytics integration for the experiment.</p><h4>Analyzing The Experiment Results</h4><p>Now that your experiment is tracking in Google Analytics, you can run an analysis of the data by creating a custom report and using the <a href="http://mean-calculator.s3-website-us-east-1.amazonaws.com/index.html">FunnelEnvy pages per session t-test calculator</a>. The Google Analytics report will provide us with the number of sessions for each pages per session bucket for each variation. This is important because it allows us to get a distribution of pages per session rather than just an average. In order to do a statistical analysis of both variations you will need to calculate this distribution. Our calculator takes a lot of the work out of this by calculating everything and placing it into the t-test calculator on evanmller.org:</p><p><a href="http://www.evanmiller.org/ab-testing/t-test.html">Two-Sample T-Test (Evan&#39;s Awesome A/B Tools)</a></p><p>In GA, go to the “Customization” tab of the navigation and click the “+ New Custom Report” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qnc54wKmYRDPwQ_0QH3sWw.png" /></figure><p>Under “Metric group” add in “Sessions,” and under the “Dimension Drilldowns” section add in your Optimizely experiment variation. Click “Save”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jbJEbpB1Od6wFiOs-qCxSg.png" /></figure><p>You should be taken to the report page. If there are values for the dimension other than the two variations then click “edit” and add a filter to only allow your two variations in the report. For example, you can use a regex filter “Optimizely Experiment XXX” to only match variations from that experiment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zPiN4RlFzcy2V3XeCf2vpg.png" /></figure><p>Once you’ve got your filtered report, click on “Secondary Dimension” and add your “Pages Per Session” dimension.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YixU_75j2nUXF-YhZQIMVg.png" /></figure><p>In order to export the data to run an analysis you will need to make sure you’re displaying all of the rows. On the bottom of your report change the “show rows” field to be large enough to show all of your rows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wyCZKLnevaiyq821-4uTHw.png" /></figure><p>Now click “Export” then export the report to a .csv file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1CztCgo15vESrOUzCplYpQ.png" /></figure><p>You can now take that CSV and upload it directly into the calculator here:</p><p><a href="http://means-calculator.funnelenvy.com/">Optimizely Difference of Means Calculator</a></p><p>upload the .csv file to the input on the page then click the “Analyze Results” link</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zorW5hQ9ji2-jEcGXPaRDQ.png" /></figure><p>The results page will tell you whether or not there was a statistically significant difference in the two groups in the “Verdict” section. This is what you should end up with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1GRizYraruLFjHva-i1eHQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d44e3f6207d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/funnelenvy-talk/comparing-pages-per-session-across-variations-in-optimizely-d44e3f6207d">Comparing Pages Per Session Across Variations in Optimizely</a> was originally published in <a href="https://medium.com/funnelenvy-talk">FunnelEnvy Talk</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>