|
发表于 2015-6-12 00:44:08
|
显示全部楼层
本帖最后由 Smythe_Bob 于 2015-7-13 00:51 编辑 9 l0 W1 E/ f- M1 i! p4 d8 x$ k3 ?2 k
0 z% C3 M* @( c2 L! L: v比如说追踪系统是iMobiTrax, 分别安装在usa,canada, url是:$ ?, [$ W7 f( K+ b& K- E @
- http://usa.imobi-tracker.com/; d5 `( {) ]0 e
- http://canada.imobi-tracker.com/
复制代码 offer的link是:
6 ]$ S6 c+ ]# G5 N# b4 z- http://cake-domain.com/?a=12345&c=67890&s1=
复制代码
o: K0 R1 x" F' c那么在imobitrax的campaign里, 分别设置offer的link为:# y9 r5 v2 Q6 k8 u7 Y& }
- http://cake-domain.com/?a=12345&c=67890&s2=[[subid]]&s3=usa
. i6 r; B8 \! k/ [& b - http://cake-domain.com/?a=12345&c=67890&s2=[[subid]]&s3=canada
复制代码 这样经过跳转, s3=usa就传递到cake系统的offer link里去了
/ O! B; c) y4 v( h, e2 N
[8 M+ w+ h' r- z新建一个自己的custom-postback.php,位置任意, 比如放在USA:
0 X1 Y7 K" p1 b8 n/ E) F! g: }- http://my-usa-domain.com/custom-postback.php
复制代码 然后在cake系统里的postback url里填写:
" @" s- ]- e9 S3 p3 f- http://my-usa-domain.com/custom-postback.php?subid=#s2#&geo=#s3#
复制代码 这样offer转化后的s3=usa传回到自定义的custom-postback.php- u+ y9 b1 E4 M4 E* @8 j2 c( x# S
* @0 g5 ?! N, @0 G7 ?$ xcustom-postback.php内容包括:
9 z6 h3 J/ V7 g/ l5 `# f- k" B4 A1 e& e' K/ O. e
- <?php7 R8 s& h; w& N
- $subid= $_GET['subid']; $geo= $_GET['geo'];
8 K+ I0 c; b) b; Z; Z3 V2 ]+ o - * n8 @9 \% s$ J7 n4 j! d- o, Z' f* b
- if(count(explode('usa',$geo))>1){0 `+ ]6 j9 h; j0 ?; a
- $usa_imobitrax = 'http://usa.imobi-tracker.com/track.php?subid='.$subid;+ U$ q: [0 |* j0 K% R3 a( @% u
- $postback = file_get_contents($usa_imobitrax);
2 u. P, ]4 p2 V! l8 d. a - die();9 o, [* X: p, r5 R( ]" c2 d( w
- }
- R! B l, @/ v2 R% _ - ! C% Y0 g9 E# K [, P
- if(count(explode('canada',$geo))>1){
3 m2 c6 w% A) G - $canada_imobitrax = 'http://canada.imobi-tracker.com/track.php?subid='.$subid;
! J* ~( W0 @ ^ - $postback = file_get_contents($canada_imobitrax);% ^' \4 S6 R1 ^4 d3 Y
- die();
- Q# Y, x8 e% c1 @6 I - }' q2 C# j$ T; }. i
- ?>
/ j- R% F3 F$ ~ G0 J1 e' N
复制代码 流量过程:
( Z6 P/ J" a8 C( H K- usa traffic -> usa IM[s3=usa] -> cake -> custom-postback[geo=#s3#] -> usa IM
) O( ? @2 d( l - canada traffic -> canada IM[s3=canada] -> cake -> custom-postback[geo=#s3#] -> canada IM
复制代码 这样就可以用usa,canada两个imobitrax来追踪同一个offer了
6 m( q, o8 A! W4 R9 i |
评分
-
查看全部评分
|