Support Center

How can I integrate Optimizely with Omniture SiteCatalyst?

Last Updated: Mar 27, 2013 05:18PM PDT

If you use Omniture SiteCatalyst for analytics on your website, you may wish to view analytics details for the visitors who have seen a given variation in your Optimizely experiment. As with Optimizely's Google Analytics Integration, you can easily integrate Optimizely with Omniture SiteCatalyst. 

Enabling the SiteCatalyst Integration

Optimizely uses SiteCatalyst's "Custom Commerce Variables" to tag your visitors with the experiments and variations to which they've been added. Configuring Optimizely to begin sending this information to SiteCatalyst requires three steps:

  1. Add the following JavaScript code to your SiteCatalyst s_code.js file (or directly on your page after the s_code.js load and before the SiteCatalyst tracking call is made):

    			 // Optimizely SiteCatalyst Integration
     window.optimizely = window.optimizely || [];
     window.optimizely.push("activateSiteCatalyst");
    
  2. Enable the SiteCatalyst integration in Optimizely after selecting "Analytics Integration" in the Options menu of the editor. (see above)

  3. Select an "eVar" you'd like Optimizely to use. This eVar should not already be in use by another part of your site, or by another currently-running Optimizely experiment.

Where should this code live?

We recommend adding this code to your s_code.js file in the plugin section, however if your SiteCatalyst tracking call is made outside of your s_code.js file and you do not wish to add the integration code directly to your s_code.js file, you could use the following setup:

	<html>
  <head>
    <script src="//cdn.optimizely.com/js/XXXXXXX.js"></script> 
  </head>
  <body>
    ...
    <script type="text/javascript" src="/js/omniture/s_code.js"></script> 
    <script type="text/javascript">
      // Optimizely SiteCatalyst Integration code
    </script>
    <script>
      // Omniture tracking call made
    </script
  </body>
</html>

Specifying a custom s variable (optional)

The s variable contains all of the tracking tags to be sent to SiteCatalyst for a given visitor. Some sites use custom SiteCatalyst implementations with special s variables. If you wish to specify an s variable, you can use the Optimizely sc_svar API call. (By default, Optimizely will use s.)

 
		// Optimizely SiteCatalyst Integration
window.optimizely = window.optimizely || [];
window.optimizely.push(['activateSiteCatalyst', {"sVariable": my_custom_s_var}]);


 

Checking the custom report for your Optimizely experiment

When you log in to your SC account you should see a dashboard that looks something like this:



This is Site Catalyst 15, if you use a previous version you will not see this page.

To get to the Optimizely custom variable click on Custom Conversion -> Custom Conversion XX-XX -> Optimizely (vXX). The XX should correspond to whatever eVar you selected when turning on the Optimizely integration.



Clicking on the Optimizely custom conversion will take you to the report.



To check how specific custom events performed across variations click on the 'Add Metrics' button at the upper right of the table. That should bring up the following menu:


Just drag the custom event you want to display to the right side to add it to the report.

Once the relevant events are added click 'OK' and you should see a modified report that shows the conversion data for the custom event.



If you want to remove all the data that wasn't included in the Optimizely experiment simply type in part or the entire name of the Optimizely experiment in question. 



To drill down the report by other parameters click on the Broken Down by: None link just above the graph.

desksupport@optimizely.com
http://assets3.desk.com/r1046ffeaa2233e531563a32d7edef6677d8a78b5/javascripts/
false
@Optimizely
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/portal/articles/autocomplete