Integrating foresee results into drupal 7 is quite easy task. but there is not clear document which tells how this can be achieved. with my experience, i planned to make up a document which can be useful to other developers. Create a folder in sites/all/libraries/foresee - Purchase foresee license and obtain the javascript from them. - Place that entire javascript/css/images in sites/all/libraries/foresee - edit your sites/all/theme/
}
there is another section that needs to be configured is the foresee-trigger.js
var $FSR = {
'timestamp': 'February 10, 2012 @ 9:13 AM',
'version': '11.2.2',
'enabled': true,
'sessionreplay': true,
'auto' : true,
'encode' : true,
'files': '/sites/all/libraries/foresee/',
'id': 'xxxxxxxxxxxxxxxx',
'definition': 'foresee-surveydef.js',
'replay_id': 'example.com',
'renderer':'W3C', // or "ASRECORDED"
'layout':'CENTERFIXED', // or "LEFTFIXED" or "LEFTSTRETCH" or "CENTERSTRETCH"
'sites': [
{
path: /\w+-?\w+\.(com|org|edu|gov|net|co\.uk)/
},
{
path: '.',
domain: 'default'
}
],
storageOption: 'cookie'
};
clear your cache and let it go
var $FSR = {
'timestamp': 'February 10, 2012 @ 9:13 AM',
'version': '11.2.2',
'enabled': true,
'sessionreplay': true,
'auto' : true,
'encode' : true,
'files': '/sites/all/libraries/foresee/',
'id': 'xxxxxxxxxxxxxxxx',
'definition': 'foresee-surveydef.js',
'replay_id': 'example.com',
'renderer':'W3C', // or "ASRECORDED"
'layout':'CENTERFIXED', // or "LEFTFIXED" or "LEFTSTRETCH" or "CENTERSTRETCH"
'sites': [
{
path: /\w+-?\w+\.(com|org|edu|gov|net|co\.uk)/
},
{
path: '.',
domain: 'default'
}
],
storageOption: 'cookie'
};
clear your cache and let it go