sitecore experience platform session 1
TRANSCRIPT
Sitecore User Group Bangalore #sugblr
Sitecore Experience Platform Basics – Part 1
WITH ANITHA HARRY
Sitecore User Group Bangalore #sugblr
Agenda Sitecore Analytics
How Analytics works in Sitecore 8.2 MongoDB and SQL Installation of Mongo DB, set up of Analytics Demo of flow of data from Mongo DB to SQL
WFFM (Web form for marketer’s) Configuring WFFM Creating forms (Default and Custom forms) Flow of data from Mongo DB to SQL WFFM Reports
EXM (Email experience manager) Configuration of EXM Demo
Sitecore User Group Bangalore #sugblr
How Analytics Works
Mongo DB NoSQL database - abandons RBMS concept of tables and rows for
collections and documents Think of a collection as a table Think of a document as a JSON object Each entry has a complete picture of the data instead of being
spread across multiple tables Use the fiddler tool to view the data
Sitecore User Group Bangalore #sugblr
Sitecore Analytics Set Up – Mongo DB
Manual set up Manual set up with configuration Automated set up with powershell script
Sitecore User Group Bangalore #sugblr
Manual SetUp for Mongo DB Download MongoDB set up from http://www.mongodb.org/downloads Check for 32 bit or 64 bit set up file Create a folder for the DB named ‘MongoDB’ Inside the ‘MongoDB’folder create two folders ‘datadb’ and ‘logs’ Open the command prompt in administrator mode Navigate to the location where the Mongo DB .exe is downloaded in
the command prompt Run the below command
mongod.exe --dbpath “[yourfilepath]” -- logpath “[yourlogfilepath]” -- install -- serviceName “[servicename]” –serviceDisplayName [service displayname]
Start the service with the below command net start MongoDB
Sitecore User Group Bangalore #sugblr
Manual SetUp for Mongo DB using config file Download MongoDB set up from http://www.mongodb.org/downloads Check for 32 bit or 64 bit set up file Create a folder for the DB named ‘MongoDB’ in any location Inside the ‘MongoDB’folder create two folders ‘datadb’ and ‘logs’ Create a normal text file with the name ‘mongo.config’ and make entries
as below dbpath=D:\mongodb\data logpath=D:\mongodb\log\mongo.log Open the command prompt in administrator mode and run the below
command mongod.exe --config “[yourconfigfilepath]”
Start the service with the below command net start MongoDB
Sitecore User Group Bangalore #sugblr
Automated SetUp for Mongo DB using a powershell script Run the below powershell script
C:\Users\aharry\Desktop\mongoDB.ps1
Sitecore User Group Bangalore #sugblr
Mongo DB Management Tools
RoboMongo Mongo VUE MongoHub RockMongo
Sitecore User Group Bangalore #sugblr
Verification of connection to MongoDB the collection database Open MongoDB and make a visit to your website Change the session end timeout in the ‘web.config’ file <sessionState mode="InProc" cookieless="false" timeout="1">
Check Mongo DB for documents Verify the Fact_ tables contain data in the reporting database In case of any issues Rebuid the reporting database Use Fiddler tool to view this data
Sitecore User Group Bangalore #sugblr
Web Form for Marketers (WFFM) WFFM is used to create simple web forms that record and report
information provided by visitors to your website Distributed as a sitecore package https://
dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx
Sitecore User Group Bangalore #sugblr
Installation of WFFM (8.2 Initial Release) Installation guide from sitecore Download the package for WFFM from the link belowhttps://dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx Pre requisites
Sitecore XP 8.2 Package for WFFM
Installation process Use the installation wizard and install the package
Post Installation steps In the ‘Restricting placeholders’ wizard define the list of placeholders that allow the forms to be
included Publish the content In the reporting database run the ‘WFFM_Analytics.sql’ Based on the IIS you use make changes to the ‘Web.config’ file to include : <add name="CaptchaImage" verb="*" path="CaptchaImage.axd" type="Sitecore.Form.Core.Pipeline.RequestProcessor.CaptchaResolver, Sitecore.Forms.Core" /> <add name="CaptchaAudio" verb="*" path="CaptchaAudio.axd" type="Sitecore.Form.Core.Pipeline.RequestProcessor.CaptchaResolver, Sitecore.Forms.Core" />
Adobe Acrobat Document
Sitecore User Group Bangalore #sugblr
Demo of WFFM
Restricting placeholder wizard Create a new form Edit an existing form Create a page with a form View the Form Reports Use the fiddler tool to view the data moving Note: ‘FormData’ collection takes around 30 minutes to be build the
first time In the web.config the following change can be made to lower this time
<forms name=".ASPXAUTH" cookieless="UseCookies" timeout="2" />
Email Experience Manager (EXM)
Create tailored email campaigns for specific segments and make them both personal and relevant to your customers .
Distributed as a sitecore package https://dev.sitecore.net/Downloads/Email_Experience_Manager.aspx
Sitecore User Group Bangalore #sugblr
Installation of EXM (3.3 Initial Release) Installation guide from sitecore Download the package for EXM from the link below https://dev.sitecore.net/Downloads/Email_Experience_Manager.aspx Pre requisites
Sitecore XP 8.1 update 3 In the ‘\App_Config\ConnectionStrings.config’ add the below connection strings
<add name="exm.master" connectionString="" /> <add name="exm.web" connectionString="" /> <add name="EXM.CryptographicKey" connectionString=
"E040C938FC9E4EBC3E93330B0F7837F284207B8180DB64CB5B6ABEB1AFBF6F5B" /> <add name="EXM.AuthenticationKey" connectionString=
"9D80B4E56AEE694058567BD89C936FB88F2DB1272A4E88F419B6501919E0BB25" />
Installation process Use the installation wizard and install the package
Post Installation steps Attach the ‘Sitecore.EXM’ and the ‘Sitecore.EXM_Web’ databases found in ‘/Website/temp/ECM’ folder Update the ‘ConnectionStrings.config’ with the values Depending on whether you will be using a Custom MTA or Sitecore Ap Center enable/disable the config files and update the values In the App_Config\Include\Sitecore.Analytics.Tracking.Sitecore.config , enter the value for the Analytics.ClusterName Use Smart Publish to publish your site Create a manager root in the EXM default settings Test the connection to the SMTP server
Sitecore User Group Bangalore #sugblr
Adobe Acrobat Document
Sitecore User Group Bangalore #sugblr
Demo of EXM
Test the connection to the SMTP server Create a new list Create a new email
Sitecore User Group Bangalore #sugblr
Question and Answers