Setting up Analytics
SmartTarget uses Google Analytics to track Content Experiments running in your Web sites and generate statistics on the data collected.
- Setting up Google Analytics
Google Analytics is a Google service that generates detailed statistics about a Web site's traffic and sources and measures conversions and sales. To track Experiments running in your Web sites, you need to set up a Google Analytics account and create a development Project. - Installing Google Analytics Provider
Install the SmartTarget Google Analytics Provider on your Web sites and on your SmartTarget Web service. The Provider generates tracking code on-the-fly when an Experiment is displayed on a Web page. - Handling cookies
Content Experiments rely on cookies to store session data about the Content Variant a visitor is viewing and make sure they always see the same one. By default, SmartTarget will try to writehttpOnlycookies, unless you are usingRELin which case SmartTarget cannot directly read and write cookies, or if it cannot write the cookies in the header, for example when the response buffer is flushed. A JavaScript cookie is written when anhttpOnlycookie cannot be used. - Configuring tracking (JSP)
Views are tracked on the server as soon as the Content Variant is rendered and a conversion is registered when a user clicks on a link. You need to configure a Servlet (JSP) on a Java platform so that links are tracked and redirected. - Configuring tracking (ASP.NET)
Views are tracked on the server as soon as the Content Variant is rendered and a conversion is registered when a user clicks on a link. You need to configure a handler on a .NET platform so that links are tracked and redirected. - Configuring Analytics
The<Analytics>element in thesmarttarget_conf.xmlconfiguration file specifies configuration settings relating to Google Analytics and your Google developer account.