We are using this code in the application file -
<cfparam name="session.outbound_referer" default="">
<cfif cgi.http_referer does not contain cgi.http_host>
<cfset session.outbound_referer=cgi.http_referer>
</cfif>
Hello - we are currently getting the domain of the referrer. This is working. We need help getting the full path of the referring url.
For example...
Lets say someone comes from google using this search
We are already getting:
but how do we go about getting the rest of that string?
search?q=tax+preparation+08816&rlz=1C1CHBF_enUS859US859&oq=tax+pre&aqs=chrome.1.69i57j35i39j69i65l3j69i60l3.3697j0j7&sourceid=chrome&ie=UTF-8
or just
search?q=tax+preparation+08816
Next example:
https://antonuccilegal.com/blog/new-jersey-auto-insurance-consumers-have-rights/
If this was referrer url, we would get...
but we want full path
https://antonuccilegal.com/blog/new-jersey-auto-insurance-consumers-have-rights/
We are running Coldfusion 2016 and need some guidance.