Home > Tracking Campaigns > Voluum

Voluum displaying weird ISP when calling it out (4)


02-04-2015 05:06 PM #1 guillermo (Member)
Voluum displaying weird ISP when calling it out

Hey Guys,

I am trying to call out a ISP and I'm doing it like this

<html>
<head>
<script>
function getURLParameter(name) {
return decodeURI(
(RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] || ''
); }
var qStr_isp = getURLParameter('isp').replace(/\+/gim," ");
</script>
</head>

<body>
Hello StM here me ISP<script>document.write(getURLParameter('isp'))</script>,
as example</body>


now , my ISP is Mega Cable, S.A. de C.V. even when I check the tracked ISP on Voluum

but the displayed ISP in Voluum is Mega Cable%2C S.A. de C.V.

any idea why?

thank you


02-04-2015 05:08 PM #2 guillermo (Member)

it must be the (,) , but how do I fix that? , I know virtually nothing, coding-related


02-04-2015 06:36 PM #3 dotcom (Member)

Change to:

Code:
<script>document.write(decodeURIComponent(getURLParameter('isp')))</script>


02-04-2015 07:18 PM #4 guillermo (Member)

boom, thanks that solved the issue!

appreciate the help


Home > Tracking Campaigns > Voluum