Presentation is loading. Please wait.

Presentation is loading. Please wait.

Partners’ Webinar 06/27/2013 Karol Jarkovsky Solution Architect Deep Dive – Web Analytics.

Similar presentations


Presentation on theme: "Partners’ Webinar 06/27/2013 Karol Jarkovsky Solution Architect Deep Dive – Web Analytics."— Presentation transcript:

1 Partners’ Webinar 06/27/2013 Karol Jarkovsky Solution Architect karolj@kentico.com Deep Dive – Web Analytics

2 Tell Me How It Works

3 Advanced Configuration Site manager  Settings  On-line marketing  Web analytics o Remember visitors by IP (minutes) o Visitor idle time (minutes) o Excluding o Excluded search engine o Excluded file extension o Excluded URLs o Excluded IP addresses web.config/appSettings oCMSWebAnalyticsSlidingIPExpiration o Enabled by default oCMSWebAnalyticsShowFullData o Indicates whether the amount of data displayed in the analytics reports should be reduced before being rendered o Disabled by default oCMSWebAnalyticsUseMemoryStorage oCMSActivityUseMemoryStorage o Indicates whether WA should store hit logs in memory storage - CMS.WebAnalytics.MemoryStorage oCMSLogActivityImmediatelyToDB

4 But Is That Right? Non-human traffic impacts statistics results

5 But Is That Right? Adding mechanism to filter out non-human hits

6 Web Analytics Via JavaScript 1. Server adds JavaScript snippet to page 3. Web service logs hits asynchronously 2. Page executing async call to Kentico web service (using JavaScript) 4. Hits processed standard way

7 Web Analytics Via JavaScript JavaScript snippet registered on page through CMS.UIControls.DocumentBase GetFilePage PortalPage : ContentPage o ~/CMSPages/PortalTemplate.aspx inherits from PortalPage TemplateMasterPage o ASPX Master Pages inherits from TemplateMasterPage Additonal system pages working with DocumentBase  ~\CMSModules\Newsletters\CMSPages\GetCSS.aspx  ~\CMSModules\Sharepoint\CMSPages\GetSharePointFile.aspx DocumentBase.InitAsyncWebAnalytics() method executed on page load o If analytics enabled and JavaScript logging enabled snippet is added to the page JavaScript snippet calls one of methods defined in WebAnalyticsService.asmx o On-site search o Banner click o On-line marketing (Landing page, Exit page, Time on page, External search, Page visit) o Page views o Browser capabilities o Visitor info (browser, mobile devices, countries, cookies, etc.) o URL Referrals o Traffic sources

8 Web Analytics API Web Analytics and important API classes CMS.WebAnalytics.HitLogProvider oLogDirectory – property that can be used to alter default storage path oLogHit() - Core analytics method logging all statistics, incl. custom o If physical log path IsExternalStorage then machine name is added to log file name ocodeName_ _ [_ ].log o Info on how to create Custom Storage Provider herehere CMS.WebAnalytics.HitLogProcessor o Processing physical *.log files stored in HitLogProvider.LogDirectory o Log file processed only if date and time retrieved from log file name is in the past o Processing log files and adding hit counts for statistics with the same key ositeName;culture;objectName;objectID o Storing statistics to DB in batches of 10 CMS.WebAnalytics.AnalyticsHelper oTrackPageViewsEnabled() oAnalyticsEnabled() o Implements methods internally calling HitLogProvider.LogHit() oLogSearchKeywords() oLogReferringSite() oLogLandingPage() o …

9 Web Analytics API CMS.CMSHelper.AnalyticsMethods oLogVisitor()  Tracks user visit, browser type, countries, mobile device  Visitor’s RETURNING_VISITOR status based on 1.IP address Site manager  On-line Marketing  Web analytics  Visitors  Remember visitors by IP (minutes) With CMSWebAnalyticsSlidingIPExpiration IP stored for a minute longer 2.Session 3.Cookie

10 Logging Custom Statistics Using JavaScript DEMO

11 THANK YOU!


Download ppt "Partners’ Webinar 06/27/2013 Karol Jarkovsky Solution Architect Deep Dive – Web Analytics."

Similar presentations


Ads by Google