dennis1000
Programmer
I am attempting to set-up a method to count click-throughs on ad pages for a client.
I have set up my links for the ads as: Specific example is
bannerclick.cfm?goto=tour.acp?id=11794&genre=gay&trial=0&HHID=1221
Language for the .cfm page is:
<CFQUERY datasource="ads">
Update bannerads
set Clicks=Clicks + 1
where LINKURL='#goto#'
and HHID =#HHID#
</CFQUERY>
<CFLOCATION url="#goto#">
From my testing, the counting of clicks seems to working correctly, but it appears CF is cutting off part of the link url. My guess is that it is attempting to read it. I have attempted quotes around the url address to keep it together, but receive a CF syntax error.
Any thoughts? Thanks in advance
I have set up my links for the ads as: Specific example is
bannerclick.cfm?goto=tour.acp?id=11794&genre=gay&trial=0&HHID=1221
Language for the .cfm page is:
<CFQUERY datasource="ads">
Update bannerads
set Clicks=Clicks + 1
where LINKURL='#goto#'
and HHID =#HHID#
</CFQUERY>
<CFLOCATION url="#goto#">
From my testing, the counting of clicks seems to working correctly, but it appears CF is cutting off part of the link url. My guess is that it is attempting to read it. I have attempted quotes around the url address to keep it together, but receive a CF syntax error.
Any thoughts? Thanks in advance