|
发表于 2015-6-12 00:44:08
|
显示全部楼层
本帖最后由 Smythe_Bob 于 2015-7-13 00:51 编辑
0 S7 h! l$ d: m+ w1 P, W: S* _ L$ n
比如说追踪系统是iMobiTrax, 分别安装在usa,canada, url是:
* }% J+ l) `: B9 ]- http://usa.imobi-tracker.com/* P' Y( |+ N9 o) y% j, K
- http://canada.imobi-tracker.com/
复制代码 offer的link是:
0 \0 k# ?0 @( E- D8 V# f4 H- http://cake-domain.com/?a=12345&c=67890&s1=
复制代码
% C1 T' K1 X6 U1 E) I* {% h那么在imobitrax的campaign里, 分别设置offer的link为:. b# Y" j( G) q
- http://cake-domain.com/?a=12345&c=67890&s2=[[subid]]&s3=usa4 \1 u/ k( A) Y1 y
- http://cake-domain.com/?a=12345&c=67890&s2=[[subid]]&s3=canada
复制代码 这样经过跳转, s3=usa就传递到cake系统的offer link里去了
6 `0 P% i' N: J b0 S V, v
$ p: E+ Q8 g, @" V. ?新建一个自己的custom-postback.php,位置任意, 比如放在USA:
/ U9 C( W8 s$ x+ p1 l! o, \: `- http://my-usa-domain.com/custom-postback.php
复制代码 然后在cake系统里的postback url里填写:
5 G/ X& ^$ R+ r+ k9 S2 A# z- http://my-usa-domain.com/custom-postback.php?subid=#s2#&geo=#s3#
复制代码 这样offer转化后的s3=usa传回到自定义的custom-postback.php
) c5 [# L" u' D0 @# I' q+ U
+ Q4 v6 P8 ]* J0 Q9 c @custom-postback.php内容包括:( t7 e1 J5 h9 Y6 l5 h' o
- p& t. \% L2 y' O& u7 u. f, s- <?php* t f( H# U* l' G0 T) `
- $subid= $_GET['subid']; $geo= $_GET['geo'];. [* X/ x2 w! Y, y; }& k7 i
6 {. s3 y! ~9 n5 f# `. M- if(count(explode('usa',$geo))>1){5 Z2 B0 l v9 y, N8 p$ g' W
- $usa_imobitrax = 'http://usa.imobi-tracker.com/track.php?subid='.$subid;
2 K/ h" O7 x) o - $postback = file_get_contents($usa_imobitrax);
+ h4 w$ P* W4 @+ ]* k - die();
6 j2 x8 t! y ` - }
/ s) w9 {: {" d! h - 6 l7 S9 i4 O/ t6 R
- if(count(explode('canada',$geo))>1){( \1 S+ g; o9 c1 Z; B
- $canada_imobitrax = 'http://canada.imobi-tracker.com/track.php?subid='.$subid;
. e# `& @ b! ^2 B: ^2 T+ q' r1 L' @ - $postback = file_get_contents($canada_imobitrax);
2 e! j$ ~; C$ k. g8 h7 X$ H& I, j - die();
0 X- l1 [+ }/ U8 w/ \ - }" t- r/ j' \) }
- ?>
1 b. C: t1 C" Y9 O( X
复制代码 流量过程:
, Y; r) L4 Z9 J' n2 ^" f( P0 f- usa traffic -> usa IM[s3=usa] -> cake -> custom-postback[geo=#s3#] -> usa IM
" |& }4 e# ?7 I' S( T, { - canada traffic -> canada IM[s3=canada] -> cake -> custom-postback[geo=#s3#] -> canada IM
复制代码 这样就可以用usa,canada两个imobitrax来追踪同一个offer了
7 x. \/ J9 U% q% l3 ? |
评分
-
查看全部评分
|