|
|
发表于 2015-6-12 00:44:08
|
显示全部楼层
本帖最后由 Smythe_Bob 于 2015-7-13 00:51 编辑 : r4 ~* n( V+ ^" I4 o
1 ^$ R! o- g2 a, ]' G
比如说追踪系统是iMobiTrax, 分别安装在usa,canada, url是:$ l1 q0 I# L) f9 q; M5 L. K
- http://usa.imobi-tracker.com/5 K, k$ X3 z( r8 B7 Y! C3 f
- http://canada.imobi-tracker.com/
复制代码 offer的link是:
& q. W0 U7 o& I' \2 ` P. r5 M. W- http://cake-domain.com/?a=12345&c=67890&s1=
复制代码
# ~1 t9 Q& q7 W/ u5 p% x那么在imobitrax的campaign里, 分别设置offer的link为:
' h0 J7 v+ R( x( P0 x3 c$ ~, ]- http://cake-domain.com/?a=12345&c=67890&s2=[[subid]]&s3=usa! D% j" ~! K/ I, M; N& O
- http://cake-domain.com/?a=12345&c=67890&s2=[[subid]]&s3=canada
复制代码 这样经过跳转, s3=usa就传递到cake系统的offer link里去了' [6 \ z. g- \5 `1 _5 y. i8 [
- F( v" ^1 k* }4 }2 x0 _& G! ^
新建一个自己的custom-postback.php,位置任意, 比如放在USA:5 J9 m6 v" s$ ~( C, Q
- http://my-usa-domain.com/custom-postback.php
复制代码 然后在cake系统里的postback url里填写:" W5 U: n; L" E
- http://my-usa-domain.com/custom-postback.php?subid=#s2#&geo=#s3#
复制代码 这样offer转化后的s3=usa传回到自定义的custom-postback.php6 B! z! T% B% x3 z# J: a3 Q/ Y7 e
; \$ F& \' d+ T7 O% x, p, j4 F
custom-postback.php内容包括:
* Z6 \+ ^) Q; b/ c
/ E% D& a6 m2 U9 a7 H& [7 E2 o- <?php
* o/ {) P4 Z# r2 f& D" ] - $subid= $_GET['subid']; $geo= $_GET['geo'];3 ^0 q) S' B' q
& b( j2 n1 `- _2 @9 X- if(count(explode('usa',$geo))>1){9 R! g$ e: h/ { x, G) e+ ^
- $usa_imobitrax = 'http://usa.imobi-tracker.com/track.php?subid='.$subid;& D0 F- M. a) D1 V
- $postback = file_get_contents($usa_imobitrax);$ A5 v' \. T# j8 z
- die();; G$ }. X" j: V/ l; f
- }
\) X. x4 \( ?- [9 S - 6 l- S, w5 ~; d: W, E3 A3 B
- if(count(explode('canada',$geo))>1){
2 d2 e) C: z* D1 H6 W - $canada_imobitrax = 'http://canada.imobi-tracker.com/track.php?subid='.$subid;: L& A- d3 L/ O2 V) H& r, C9 u
- $postback = file_get_contents($canada_imobitrax);
9 \$ c* S6 B; p% L& u6 s! \- R - die();
. S4 F9 x* ~. W, R - }6 o( ]' b) r! w0 D+ v
- ?>. ?% y' l2 o) D$ f: U# k) s+ ]
复制代码 流量过程:
; k9 ?" Y9 q H" i2 ~! {- usa traffic -> usa IM[s3=usa] -> cake -> custom-postback[geo=#s3#] -> usa IM- Z' t+ A. W* G& E/ m6 S$ K7 t
- canada traffic -> canada IM[s3=canada] -> cake -> custom-postback[geo=#s3#] -> canada IM
复制代码 这样就可以用usa,canada两个imobitrax来追踪同一个offer了" a3 S# u; N/ V, {3 U: y6 o( r
|
评分
-
查看全部评分
|