piwik - 사진 추적
그래서 api 에 대한 지식 이 많아 요.
api 에 대한 설명 은 공식 참조:http://developer.piwik.org/api-reference/tracking-api
<?php
$_product = $this->getProduct();
$t_rand= rand(100000,999999);
$t_id = substr(md5("admin"),8,16);
$t_h = date("h");
$t_m = date("m");
$t_s = date("s");
$piwik_api = 'http://piwik.tomtop.com/piwik.php?_cvar={\"1\":[\"Cart\",\"Add\"]}&action_name=View settings&url=http://www.tomtop.com/sale/order/save/piwikaddtocart&idsite=1&rand='.$t_rand.'&h='.$t_h.'&m='.$t_m.'&s='.$t_s.'&rec=1&apiv=1&cookie=&urlref=http://www.tomtop.com&_id='.$t_id.'&';
?>
// trackurl = '<?php echo $piwik_api; ?>';
// if(ILData[0]){
// trackurl = trackurl+'cip='+ILData[0]+'&';
// }
// currentLang = navigator.language;
// if(currentLang){
// trackurl = trackurl+'lang='+currentLang+'&';
// }
// jQuery("#pkimgid").html("<img src='"+trackurl+"' />");
이 사진 에 대한 추적 은 약간 닭 갈비 의 성질 이 있 는데, 물론 현재 연구 한 것 은 아직 투철 하지 않다
js 를 사용 할 수 있다 면 그림 은 필요 없 지만 js 를 사용 할 수 없다 면 많은 데 이 터 를 얻 지 못 하고 방문 횟수 만 얻 을 수 있다.많은 데 이 터 를 얻 는 것 은 js 를 통 해 얻 는 것 이기 때문이다.
그래서 약간 닭 갈비 의 성질 이 있 지만 api 이기 때문에 그의 쓸모 가 있 습 니 다. 이 api 에 대해 매개 변수 가 상당히 많 기 때문에 자세히 봐 야 합 니 다.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.