User login

MetaTraffic 2.0 Boxshot

Tracking redirection to external URL

Posted by fbridge [January 12, 2005]

When tracking redirection to an external URL
GenerateReport(3) will create an incorrect
href in the report. You may want to change
Function FormatLink in clsReport.asp to correct this.

[code]
Private Function FormatLink(strUrl, strClass)
Dim strTemp, strHref
If Left(LCase(strSiteUrl), 4) = "http" Then
If Left(LCase(strUrl), 4) = "http" Then
strTemp = "" & strUrl & ""
Else
strTemp = "" & strUrl & ""
End If
Else
strTemp = strUrl
End If

FormatLink = strTemp

End Function
[/code]

I hope this helps.
Frank