AdvertCN - 广告中国

 找回密码
 立即注册

QQ登录

只需一步,快速开始

 谷歌+Bing+TT+MSN官方代理 
⚡️按条S5代理⚡️静态⚡️独享⚡️5G⚡️最干净<Wifi住宅+5G移动>IP代理指纹浏览器,就用AdsPower
Mediabuy⚡️玩家开户首选【鲁班跨境通-自助充值转账】FB/GG/TT❤️官方免费开户Affiliate 全媒体流量资源⚡️
Taboola/Outbrain /Bing⚡️一级代理开户投流-7*24h❤️人工在线【官方】❤️搜索套利广告开户独立站⚡️开户投放
DuoPlus专注打造跨境电商云手机E.PN 虚拟卡BINOM TRACKER 60% OFF!比Adplexity还好用的Spy工具
MediaGo+Taboola+Ob开户百度国际MediaGo⚡️让产品狂奔全球百度国际,高点击转化,快速放量百度国际MediaGo,独家原生流量
ADPLEXITY + ADVERTCN7200W全球动态不重复住宅IP代理虚拟信用卡+独立站收款全球虚拟卡, 支持U充值
Facebook 批量上广告尤里改 - FB 稳定投放免费黑五教程(持续更新、欢迎交流)FB 三不限源头 - 自助下户充值转款
各种主页、账单户、BM户(优势)⚡️个人户,bm户不限额,账单户一手BM分享户不限额9Proxy ⚡️ $0.04/IP, 无限带宽
FB二三解0.1元一个虚拟卡|PTM星际卡FB专用虚拟卡Google、Bing官方总代  联盟流量开户
FB账号资源/稳定靠谱/运行5年啦FB开户代投/三不限/白名单广告位出租 
查看: 7921|回复: 16

[业界] Landing Page Protection How To Protect Your Landing Pages

[复制链接]

5

主题

14

广告币

93

积分

初级会员

Rank: 2

积分
93

社区QQ达人

发表于 2017-4-18 14:11:18 | 显示全部楼层 |阅读模式
本帖最后由 他入错了行 于 2017-4-18 20:14 编辑 ' K- r! ]4 z' N. B' p+ d( a

$ K, l( @! U9 C  {; m6 o5 s& i0 H9 \
之前这篇帖覆盖了,小事情而已。换成一个大家都喜欢的LP  tec. research。
In marketing you need every advantage you can get.
A landing page is one of those advantages.
But after spending hours creating the perfect landing page…
…you see your competitor has already ripped it..
What if a few lines of code could help you protect your hard work?
Now no landing page can be fully “rip” proof but you can make it a pain to try and steal your work.
Session Redirect
I have used this script quite a bit, to help lock down my landing pages. When a visitor goes to your site this script will set a session cookie then do a quick redirect. The visitor cannot see the key as the session is invisible to them. If they refresh the page they cannot see the landing page and get redirect to the secondary page. This is because when they refresh the key is no longer in the url string and the session gets unset. This also will break spy tools such as Whatrunswhere.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

  Z0 T7 g' m& v; k  Z2 c
session_start();
1 I2 }6 l1 L2 f5 Z
$self = "{$_SERVER['PHP_SELF']}?{$_SERVER['QUERY_STRING']}";

  U1 q8 N/ f" v3 B0 z
if(!empty($_GET['key']) &&  $_GET['key'] == "9288" )  {
    unset($_GET['key']);
    $qs = http_build_query($_GET);
    $self = "{$_SERVER['PHP_SELF']}?{$qs}";
    $_SESSION['key'] = 1;
    header("Location: $self");
    exit;
} elseif (!isset($_SESSION['key'])) {
    header('Location: https://ppcmode.com');
    exit;
}
/ Y9 @+ @7 A4 i9 L9 ~6 @6 D

! R# O' W/ c! O8 m7 g
session_unset();
    session_destroy();
    session_write_close();
include("lander.php");
To make the script show the correct page you have to append the url parameter key to the end. So for example https://ppcmode.com?key=9288 The key would be set and the correct landing page would load. The visitor however would only see: https://ppcmode.com in their browser.
Device Check
This script can be duped pretty easy, but it will keep newbs away from your pages. It checks the user agent of the visitor and will only allow the correct devices to load the page. In the below example all mobile devices are allowed to see the page, if a desktop visitor goes to the page however, they’re redirected to ppcmode.com The same thing can be done with redirect rules if you’re using a front-end tracker.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
- s# j5 D! m8 y( H
if
+ g3 l% F+ _0 p' n! ^/ H
function mobile() {
$userAgent = strtolower($_SERVER['HTTP_USER_AGENT']);
$accept = strtolower($_SERVER['HTTP_ACCEPT']);
switch(true){
case (isset($_SERVER['HTTP_X_WAP_PROFILE']) || isset($_SERVER['HTTP_PROFILE'])):
return true;
break;
case (strpos($userAgent, 'ipad') !== false):
return true;
break;
case (strpos($userAgent, 'ipod') !== false):
return true;
break;
case (strpos($userAgent, 'iphone') !== false):
return true;
break;
case (strpos($userAgent, 'android') !== false || strpos($userAgent, 'adr') !== false):
return true;
break;
case (strpos($userAgent, 'blackberry') !== false || strpos($userAgent, 'playbook') !== false):
return true;
break;
case (stripos($userAgent, 'windows phone') !== false || stripos($userAgent, 'IEMobile') !== false || stripos($userAgent, 'MSIEMobile') !== false || stripos($userAgent, 'Windows Mobile') !== false || stripos($userAgent, 'windows ce') !== false || stripos($userAgent, 'palmsource') !== false || (stripos($userAgent, 'ppc') !== false && stripos($userAgent, 'mac') === false && stripos($userAgent, 'x11') === false)):
return true;
break;
case (isset($_SERVER['HTTP_DEVICE_STOCK_UA']) || isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA']));
return true;
break;
case (strpos($userAgent, 'opera tablet') !== false || strpos($userAgent, 'opera mobi') !== false || stripos($userAgent, 'opera mini') !== false):
return true;
break;
case (strpos($userAgent, 'opera') !== false):
if (stripos($userAgent, 'x11') !== false || stripos($userAgent, 'zbov') !== false || isset($_SERVER['HTTP_X_EBO_UA'])) {
return true;
break;
}
case (strpos($userAgent, 'cfnetwork') !== false):
return true;
break;
case ((strpos($accept,'text/vnd.wap.wml')>0)||(strpos($accept,'application/vnd.wap.xhtml+xml')>0));
return true;
break;
}
}
<?php
} else {
header( 'Location: https://ppcmode.com?' ) ;?>
<?php
}
?>
If you’re not using PHP and would like to do the redirects in your .htaccess simply add:
1
2
3
4
5
6
7
</pre>
<pre><IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|opera mobile|palmos|webos" [NC]
RewriteRule ^$ https://ppcmode.com/mobile [L,R=302]
</IfModule></pre>
<pre>
Language Detection
Most landing page thieves are smart enough to mask their user agent for devices. They however almost never make their browser language. Because of this we can block anyone with a browser language that doesn’t match where we are running traffic. For example if we were running a campaign in France chances are their browser language would be fr so anyone with a user agent that doesn’t match that, is likely trying to steal your page or wouldn’t convert anyways. *Only use this if you’re really wanting to lock down your pages as you will have some click loss.
1
2
3
4
5
6
7
8
9
10
11
12
<?php
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
switch ($lang){
case "fr":
include("lander.php");
break;

9 G- V: x( O1 p# v3 m" y; Q( {
default:
include("lander_2.php");
break;
}
?>
In the code above anyone with the proper language header would be sent to lander.php while anyone that didn’t would be sent to lander_2.php
Second Chance Back-Button
I’m sure many of you remember this script from my Landing Page Code post. But it is worth another mention. The scripts serves a duel purpose, it allows you to modify where the user goes if they click the back button. Plus makes it hard to see view source when they load your page on desktop. That is because whatever is in the intial.html file is what will show in the browser, which is not the same code as your landing page. So it helps quite a bit for those pesky thieves.
1
2
3
4
5
6
7
8
9
10
11
12
<script type="text/javascript">
window.history.pushState('other.html', 'Other Page', 'other.html');
window.history.pushState('initial.html', 'Initial Page', 'initial.html');
</script>
$ d5 P  O: f# q& Y
<script type="text/javascript">
window.addEventListener("popstate", function(e) {
    if(document.URL.indexOf("other.php") >= 0){
    document.location.href = document.location;
    }
});
</script>
Two files need to be added into the same directory as your landing page:# A( W/ V" A3 _3 Q6 I7 B9 P
intial.html) R. t) i! J9 g
other.html
These files can be named whatever you want just be sure to modify the code above.
In both the intial.html & other.html you need the following code:
1
2
3
4
5
<html>
<head><meta http-equiv="refresh" content="0;url=http://BACK-BUTTON-OFFER.com" /></head>
<body>
</body>
</html>
Now whenever the visitor clicks the back button they will be redirected to your next offer.
Warning this causes a loop for the user and no matter how much they click the back button they will never be able to leave…
…goes without saying that many traffic sources don’t allow this.
I hope to hear some success stories with the use of this tricks.
Also, if you ever find a useful piece of code please share it in the comments below.
Every-time I find some useful code I will add it to this post.
When All Else Fails..
Like I mentioned earlier in this post, it’s impossible to stop your pages from being ripped. All of these codes will dramatically cut back on how quickly your creatives are ripped, but once you accept the fact that it’s possible. We can start to battle those who have already stole from us, by “borrowing” some of their traffic.
Take a look at a tool I made: Warden
If you have found another cool way to help protect your pages, please let me know. I’ve tried several scripts and so far these are by far my favorites. I personally have people who steal landing pages and unfortunately have had the majority of my creatives ripped at one time or another.
相关帖子
回复

使用道具 举报

42

主题

3564

广告币

4297

积分

超级版主

Rank: 8Rank: 8

积分
4297
发表于 2017-4-18 14:29:18 | 显示全部楼层
Traffic Research, 创建于2016年。
missyou,blue等在本群分享,均奋斗在日入10万刀的路上,只谈流量。
入群红包200元,介意者免入!
Q群号:495307075  暗号:advertcn
回复 支持 反对

使用道具 举报

3

主题

206

广告币

303

积分

初级会员

Rank: 2

积分
303

社区QQ达人

发表于 2017-4-18 14:32:33 | 显示全部楼层
目测是小白AM,楼主的截图不清晰,群众都看不清哪里的问题
The Best or Nothing.
回复 支持 反对

使用道具 举报

5

主题

477

广告币

586

积分

中级会员

Rank: 3Rank: 3

积分
586

社区QQ达人

发表于 2017-4-18 14:46:24 | 显示全部楼层
其实也没啥好纠结的,联盟那么多,总有一个适合你
回复 支持 反对

使用道具 举报

1

主题

107

广告币

153

积分

初级会员

Rank: 2

积分
153
发表于 2017-4-18 14:53:02 | 显示全部楼层
呵呵,,,,
回复 支持 反对

使用道具 举报

22

主题

1637

广告币

1951

积分

高级会员

Rank: 4

积分
1951
发表于 2017-4-18 15:05:24 | 显示全部楼层
很正常吧。% n5 X2 |, H% i% J- d2 W7 t. e& u
这家不批,换另一家。* D! `+ e) X" O7 T
还有很多歧视中国人的联盟,都不理你
回复 支持 反对

使用道具 举报

53

主题

617

广告币

1507

积分

高级会员

Rank: 4

积分
1507

社区QQ达人

发表于 2017-4-18 15:10:43 | 显示全部楼层
给他后台让他自己登陆去看不就成了
! P9 Q2 s) J8 ?3 Z, y5 E; u
回复 支持 反对

使用道具 举报

1

主题

6

广告币

135

积分

初级会员

Rank: 2

积分
135

社区QQ达人

发表于 2017-4-18 15:15:37 | 显示全部楼层
为何不去关注有对赌协议的联盟,它的流水需要你们去完成;跟AM搞好关系也是必须的,大把的AFF在CAP下面排队。
回复 支持 反对

使用道具 举报

144

主题

2339

广告币

3969

积分

金牌会员

Rank: 6Rank: 6

积分
3969
发表于 2017-4-18 15:42:45 | 显示全部楼层
现在申请一个号这么难吗?
回复 支持 反对

使用道具 举报

22

主题

353

广告币

1221

积分

论坛嘉宾

积分
1221

社区QQ达人

发表于 2017-4-18 16:22:58 | 显示全部楼层
敢怼我女神
回复 支持 反对

使用道具 举报

8

主题

1396

广告币

1616

积分

高级会员

Rank: 4

积分
1616
发表于 2017-4-18 16:43:34 | 显示全部楼层
胆子太大了,Cynthia可是YM之花啊!

点评

卧槽,比我们家Rita还漂亮吗?  详情 回复 发表于 2017-4-18 17:37
回复 支持 反对

使用道具 举报

7

主题

85

广告币

237

积分

版主

Rank: 7Rank: 7Rank: 7

积分
237
发表于 2017-4-18 16:48:20 | 显示全部楼层
你看 好危险,炸爷都出来说话了
回复 支持 反对

使用道具 举报

5

主题

407

广告币

1044

积分

中级会员

Rank: 3Rank: 3

积分
1044

社区QQ达人

发表于 2017-4-18 17:28:03 | 显示全部楼层
才不批号,就那么傲娇,以后有更大的问题,你岂不是要上天了?
白昼给了我白色的牙齿,而我却用它去吃黑芝麻糊……
回复 支持 反对

使用道具 举报

176

主题

1053

广告币

4109

积分

超级版主

Rank: 8Rank: 8

积分
4109

社区QQ达人

发表于 2017-4-18 17:37:16 来自手机 | 显示全部楼层
纯净水 发表于 2017-4-18 16:43
- D6 _- J$ |9 r; |5 m" E% q胆子太大了,Cynthia可是YM之花啊!

; Q% Y0 @% I) ^) s" Q卧槽,比我们家Rita还漂亮吗?

点评

炸这种老司机都沦陷了,已经无法用漂亮来形容了!  发表于 2017-4-19 17:25
回复 支持 反对

使用道具 举报

22

主题

876

广告币

1208

积分

高级会员

Rank: 4

积分
1208

社区QQ达人

发表于 2017-4-19 08:39:56 | 显示全部楼层
这什么东西
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于我们|联系我们|DMCA|广告服务|小黑屋|手机版|Archiver|Github|网站地图|AdvertCN

GMT+8, 2024-11-16 22:26 , Processed in 0.057104 second(s), 17 queries , Gzip On, MemCache On.

Copyright © 2001-2023, AdvertCN

Proudly Operating in Hong Kong.

快速回复 返回顶部 返回列表