배너 광고 노출시 클릭수를 알고 싶어요. 정보
배너 광고 노출시 클릭수를 알고 싶어요.본문
기존에 배너관리 스킨들을 보면 게시판으로 링크 거는건 게시판 조회수로 알수 있지만
외부 링크를 걸때 클릭수를 알 수 있는 방법이 있는지요.
이리저리 찾아봐도 관련 답변들이 없어
제가 워낙 초보다 보니 몇일째 이 고생을 하고 있습니다.
고수님들의 도움이 절실히 필요해서요 부탁드립니다.
아래 제가 운영하는 사이트 입니다.
http://www.funinkorea.com/Templates/zenabasic/index_test.php
스킨소스
<div class='latest_area'>
<?
shuffle($list);
if ($list['0']['file']['count'] > 0) {
if ($list['0']['file']['0']['image_type'] == '13') {
//flash 파일일 경우
$swf_file = $list['0']['file']['0']['path'] . "/" . $list['0']['file']['0']['file'];
$banner_tag = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='{$list['0']['file']['0']['image_width']}' height='{$list['0']['file']['0']['image_height']}'>
<param name='movie' value='{$swf_file}'>
<param name='quality' value='high'>
<param name='wmode' value='transparent'/>
<param name='allowScriptAccess' value='always'>
<embed src='{$swf_file}' quality=high width='{$list['0']['file']['0']['image_width']}' height='{$list['0']['file']['0']['image_height']}' type='application/x-shockwave-flash' pluginspace='http://www.adobe.com/go/getflashplayer' allowScriptAccess='always'></embed>
</object>";
} else {
//일반 이미지 파일일경우
$banner_tag = "<a href='{$list['0']['link_href']['1']}' title='{$list['0']['subject']}' onclick='window.open(this.href); return false'><img src='{$list['0']['file']['0']['path']}/{$list['0']['file']['0']['file']}'/></a>";
}
echo $banner_tag;
}
?>
</div>
외부 링크를 걸때 클릭수를 알 수 있는 방법이 있는지요.
이리저리 찾아봐도 관련 답변들이 없어
제가 워낙 초보다 보니 몇일째 이 고생을 하고 있습니다.
고수님들의 도움이 절실히 필요해서요 부탁드립니다.
아래 제가 운영하는 사이트 입니다.
http://www.funinkorea.com/Templates/zenabasic/index_test.php
스킨소스
<div class='latest_area'>
<?
shuffle($list);
if ($list['0']['file']['count'] > 0) {
if ($list['0']['file']['0']['image_type'] == '13') {
//flash 파일일 경우
$swf_file = $list['0']['file']['0']['path'] . "/" . $list['0']['file']['0']['file'];
$banner_tag = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='{$list['0']['file']['0']['image_width']}' height='{$list['0']['file']['0']['image_height']}'>
<param name='movie' value='{$swf_file}'>
<param name='quality' value='high'>
<param name='wmode' value='transparent'/>
<param name='allowScriptAccess' value='always'>
<embed src='{$swf_file}' quality=high width='{$list['0']['file']['0']['image_width']}' height='{$list['0']['file']['0']['image_height']}' type='application/x-shockwave-flash' pluginspace='http://www.adobe.com/go/getflashplayer' allowScriptAccess='always'></embed>
</object>";
} else {
//일반 이미지 파일일경우
$banner_tag = "<a href='{$list['0']['link_href']['1']}' title='{$list['0']['subject']}' onclick='window.open(this.href); return false'><img src='{$list['0']['file']['0']['path']}/{$list['0']['file']['0']['file']}'/></a>";
}
echo $banner_tag;
}
?>
</div>
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '267458' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php