|
发表于 2015-6-12 00:44:08
|
显示全部楼层
本帖最后由 Smythe_Bob 于 2015-7-13 00:51 编辑
2 @3 C* |, m1 k$ g! m/ Z
9 K2 d2 I+ {: J比如说追踪系统是iMobiTrax, 分别安装在usa,canada, url是:
, K3 X& W; t( \& u, Q3 U- http://usa.imobi-tracker.com/4 q2 }. u# `2 m# B' }3 i
- http://canada.imobi-tracker.com/
复制代码 offer的link是:
0 A1 j, u: X& e% ^& L- http://cake-domain.com/?a=12345&c=67890&s1=
复制代码
2 `3 ~: B8 X, {那么在imobitrax的campaign里, 分别设置offer的link为:2 c8 A- {- |' l
- http://cake-domain.com/?a=12345&c=67890&s2=[[subid]]&s3=usa' n$ [! r8 g' N* E. N! {
- http://cake-domain.com/?a=12345&c=67890&s2=[[subid]]&s3=canada
复制代码 这样经过跳转, s3=usa就传递到cake系统的offer link里去了: {2 ?9 ~' j+ d! i
* ]0 M4 C1 g: O5 N- c新建一个自己的custom-postback.php,位置任意, 比如放在USA:
8 c1 U! ~1 e: ^ D% I4 t& W- http://my-usa-domain.com/custom-postback.php
复制代码 然后在cake系统里的postback url里填写:
8 \5 }) e# I7 Z3 y$ n1 B/ m- http://my-usa-domain.com/custom-postback.php?subid=#s2#&geo=#s3#
复制代码 这样offer转化后的s3=usa传回到自定义的custom-postback.php
: p. {1 c, w3 |
5 t+ f3 o8 n7 j" `7 Wcustom-postback.php内容包括:+ |/ {5 L9 y9 J, s+ v% R
$ C% l0 j/ i" m- <?php
5 I& q! w: @7 Z" R- _$ G - $subid= $_GET['subid']; $geo= $_GET['geo'];7 J; Q( A# U. A5 J- y
- ; t' r7 \: A" A
- if(count(explode('usa',$geo))>1){. w& A) ?: G. l! ~ u" k/ I
- $usa_imobitrax = 'http://usa.imobi-tracker.com/track.php?subid='.$subid;% T; j/ ^1 ?, L. v, t, u/ i9 P
- $postback = file_get_contents($usa_imobitrax);# p2 B0 n* t" l& c/ ^+ }
- die();1 {6 f' G/ w# O3 L7 W% P+ \/ |- B
- }! `/ u& D/ j+ g; K
- : Q! H4 D2 ?* g. T+ e) w! U
- if(count(explode('canada',$geo))>1){
! t- a, d1 O! A - $canada_imobitrax = 'http://canada.imobi-tracker.com/track.php?subid='.$subid;
/ y# Z1 \$ X1 ]) V- U9 ~ - $postback = file_get_contents($canada_imobitrax);
. n5 q+ r6 Z5 F0 ?; F6 @: x - die();3 ~! t" z1 q$ @- m# n6 T4 x
- }
8 P5 x& y6 X; C - ?>
* C; R3 L/ j! T- ?0 o
复制代码 流量过程:1 Y! T: s; e% |
- usa traffic -> usa IM[s3=usa] -> cake -> custom-postback[geo=#s3#] -> usa IM: i8 {. T* ], L' _! B. K
- canada traffic -> canada IM[s3=canada] -> cake -> custom-postback[geo=#s3#] -> canada IM
复制代码 这样就可以用usa,canada两个imobitrax来追踪同一个offer了
7 e( a/ u/ j" g3 S: r |
评分
-
查看全部评分
|