|
发表于 2015-6-12 00:44:08
|
显示全部楼层
本帖最后由 Smythe_Bob 于 2015-7-13 00:51 编辑
5 i! [/ Y9 |! ?' b$ g4 d8 z( \/ V4 C/ Z: M0 Q: e! _- k; |) {) P" u5 G
比如说追踪系统是iMobiTrax, 分别安装在usa,canada, url是:
+ T1 b0 ?$ o8 H% v' {' i- http://usa.imobi-tracker.com/
' u6 c) N, }% Q r& \) ` - http://canada.imobi-tracker.com/
复制代码 offer的link是:: V, X' |: P( U e- O; [/ p6 u4 o4 v
- http://cake-domain.com/?a=12345&c=67890&s1=
复制代码
4 c5 s* i7 S" p那么在imobitrax的campaign里, 分别设置offer的link为:
7 q/ G& s" D+ Y* M3 \3 c- http://cake-domain.com/?a=12345&c=67890&s2=[[subid]]&s3=usa
4 M+ O, M& t- I8 N$ s# S& O - http://cake-domain.com/?a=12345&c=67890&s2=[[subid]]&s3=canada
复制代码 这样经过跳转, s3=usa就传递到cake系统的offer link里去了' \, g, A7 m: \& L
. W& o3 p1 N2 R5 G7 h# t. Q5 k- |% ^4 q新建一个自己的custom-postback.php,位置任意, 比如放在USA:
+ }% i# W2 A" G& f- http://my-usa-domain.com/custom-postback.php
复制代码 然后在cake系统里的postback url里填写:' O2 ?2 ?/ B b( F& {
- http://my-usa-domain.com/custom-postback.php?subid=#s2#&geo=#s3#
复制代码 这样offer转化后的s3=usa传回到自定义的custom-postback.php
. E3 B! J3 J0 q- P3 W& M( P4 Y! ~7 ~
custom-postback.php内容包括:. T, E, S8 H0 b1 r. `8 T, Q2 h: W
' D" }) e5 j8 p, ` A: w, x% j- <?php `% N |4 D% W: g2 l
- $subid= $_GET['subid']; $geo= $_GET['geo'];
* u' C( i: b2 v1 {, B
$ Y7 j% _6 ^2 U* R8 S4 Z$ {- if(count(explode('usa',$geo))>1){
& M! U4 Z% y+ Y - $usa_imobitrax = 'http://usa.imobi-tracker.com/track.php?subid='.$subid;5 `: l4 S- Q) ~( D# s2 k4 |
- $postback = file_get_contents($usa_imobitrax);8 C1 O# B% E2 z- h/ U7 @ J
- die();
j6 W' Z1 ?6 s3 j6 [ - }5 I+ m$ E# y' i0 d7 U+ D8 \$ J) `
" f0 g0 q/ x+ j/ o: {+ `- if(count(explode('canada',$geo))>1){; d t( S* T" l7 K% F2 f
- $canada_imobitrax = 'http://canada.imobi-tracker.com/track.php?subid='.$subid;
) r# a! Z0 I0 e& a - $postback = file_get_contents($canada_imobitrax);" d3 V: {2 ^4 e& ^- R0 B
- die();* |- Z* U- l- \$ _- F& n" L* @
- }% }4 G E. v) L8 a
- ?>
+ Y6 @# R- Y) {( [- X# H
复制代码 流量过程:
- E! T3 n1 J0 }' J2 w+ m- usa traffic -> usa IM[s3=usa] -> cake -> custom-postback[geo=#s3#] -> usa IM
2 G! m; l# _2 y$ I" z$ g' [ - canada traffic -> canada IM[s3=canada] -> cake -> custom-postback[geo=#s3#] -> canada IM
复制代码 这样就可以用usa,canada两个imobitrax来追踪同一个offer了7 P" L! y( t L. Z( ]
|
评分
-
查看全部评分
|