ResponseTap

From All n One's bxp software Wixi

Jump to: navigation, search

1 Overview

ResponseTap ( https://www.responsetap.com/ ) is a Call Tracking and Web analytics tool.


Visitor level call tracking from ResponseTap. One of the most comprehensive solutions to track calls for businesses, marketing agencies and networks.


bxp through the bxp API and AJAX can integrate fully with RepsonseTap to provide end to end reporting from Marketing Spend through to Operation sales / care delivery.


2 Architecture

Responsetap diagram 001a.png


3 Integration

3.1 Phone System Integration

This is covered under this scenario Scenario_-_bxp_Integration_with_a_Phone_System


Numerous phone system solutions can be integrated with.


3.2 In Form - AJAX lookup

function parseXMLDoc ( xmlDoc ){
	
	if (window.DOMParser) {
	   parser=new DOMParser();
	   xmlDoc=parser.parseFromString(xmlDoc,"text/xml");
   }
	else {
		// code for IE
		xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
		xmlDoc.async=false;
		xmlDoc.loadXML(xmlDoc); 
   }  
	
	var x=xmlDoc.getElementsByTagName("phoneCall");
	for (i=0;i<x.length;i++) { 
		document.getElementById('strCDA_1_field_0_4').value = x[i].getElementsByTagName("cdrId")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_5').value = x[i].getElementsByTagName("dailyCallId")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_6').value = x[i].getElementsByTagName("customerNumber")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_7').value = x[i].getElementsByTagName("trackingNumber")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_9').value = x[i].getElementsByTagName("callDate")[0].childNodes[0].nodeValue;
/*		
		document.getElementById('strCDA_1_field_0_8').value = x[i].getElementsByTagName("businessNumber")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_10').value = x[i].getElementsByTagName("visitorId")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_11').value = x[i].getElementsByTagName("visitId")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_12').value = x[i].getElementsByTagName("sourceName")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_13').value = x[i].getElementsByTagName("campaignName")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_14').value = x[i].getElementsByTagName("channelName")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_15').value = x[i].getElementsByTagName("mediumName")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_16').value = x[i].getElementsByTagName("mediumTypeName")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_17').value = x[i].getElementsByTagName("adReferenceName")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_18').value = x[i].getElementsByTagName("landingPage")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_19').value = x[i].getElementsByTagName("referrer")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_20').value = x[i].getElementsByTagName("conversionPage")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_21').value = x[i].getElementsByTagName("searchPhrase")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_22').value = x[i].getElementsByTagName("numberGroupId")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_23').value = x[i].getElementsByTagName("numberGroupName")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_24').value = x[i].getElementsByTagName("status")[0].childNodes[0].nodeValue;
		document.getElementById('strCDA_1_field_0_25').value = x[i].getElementsByTagName("browserLanguage")[0].childNodes[0].nodeValue;
*/		
	}
}

function loadXMLDoc() {
	var intDailyCallId = +document.getElementById('strCDA_1_field_0_2').value;
	var strURL = 'https://ww3.allnone.ie/client/client_demo/cti/userCTI_ResponseTap_GetCalldId.asp?dailyCallId=' + intDailyCallId;
	var xmlhttp;
	var xmlDoc;
	
	if (window.XMLHttpRequest) {
		// code for IE7+, Firefox, Chrome, Opera, Safari
		xmlhttp=new XMLHttpRequest();
	}
	else {
		// code for IE6, IE5
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	xmlhttp.onreadystatechange=function() {
		if (xmlhttp.readyState==4 && xmlhttp.status==200) {
			xmlDoc = xmlhttp.responseText;
			parseXMLDoc ( xmlDoc );
			document.getElementById("myDiv").innerHTML=xmlDoc;
		}
	}
	xmlhttp.open("POST",strURL,true);
	xmlhttp.send();
}