-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
78 lines (78 loc) · 4.2 KB
/
index.html
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta property="og:title" content="Polite Email Popup">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:image" content="https://www.mugshotbot.com/m?url=https://www.politepop.com/?v=6">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://www.mugshotbot.com/m?url=https://www.politepop.com/?v=6" />
<meta name="description" content="A free popup plugin that makes sure visitors are engaged with your content before asking for their email address.">
<title>Polite Email Popup</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/dark.min.css?v=56793">
<link rel="stylesheet" href="/demo/css/front-page.css?v=56793">
<script src="/demo/js/front-page.js?v=56793" defer></script>
</head>
<body>
<div>
<div class="intro">
<div>Make sure visitors actually like your website before asking for their email address.</div>
<div>Introducing...</div>
<img src="/demo/images/polite-logo-full-color.svg">
</div>
<div class="links">
<div>
<a href="/generate">⚡️ Generate a Polite Popup for Your Website!</a>
</div>
<div>
<a href="/demo">👉 Try the demo</a>
</div>
<div>
<a href="https://docs.google.com/document/d/1zBnJ2lj0PW0lkdfggaJytKFnDkggymcDGi4iG09FqPc/edit?usp=sharing" target="_blank">👩💻 Read all about it</a>
</div>
</div>
<div class="demo-section">
<div class="demo-section__heading">Polite Popup Demo (2 min):</div>
<video class="demo-section__video" controls src="https://super-projects.b-cdn.net/polite-popup/videos/polite-demo.mp4">
</div>
<div class="email-sign-up-container">
<div class="email-sign-up-label">Want to hear about my next project? 🐯</div>
<form id="email-sign-up">
<input type="text" name="_gotcha" style="display:none" />
<input type="hidden" name="_subject" value="Polite Subscriber" />
<input name="email" type="email" placeholder="Your email" required="">
<button type="submit">Join newsletter</button>
</form>
</div>
<footer>
<div>© 2020 David Miranda</div>
<div class="nav">
<a href="https://github.com/panphora/polite-email-popup" target="_blank">GitHub (Polite Email Popup)</a>
<a href="https://twitter.com/panphora" target="_blank">Twitter</a>
<a href="https://davidmiranda.info/" target="_blank">My Projects</a>
</div>
</footer>
</div>
<script>
// Google Analytics
(function(a,b,c){var d=a.history,e=document,f=navigator||{},g=localStorage,
h=encodeURIComponent,i=d.pushState,k=function(){return Math.random().toString(36)},
l=function(){return g.cid||(g.cid=k()),g.cid},m=function(r){var s=[];for(var t in r)
r.hasOwnProperty(t)&&void 0!==r[t]&&s.push(h(t)+"="+h(r[t]));return s.join("&")},
n=function(r,s,t,u,v,w,x){var z="https://www.google-analytics.com/collect",
A=m({v:"1",ds:"web",aip:c.anonymizeIp?1:void 0,tid:b,cid:l(),t:r||"pageview",
sd:c.colorDepth&&screen.colorDepth?screen.colorDepth+"-bits":void 0,dr:e.referrer||
void 0,dt:e.title,dl:e.location.origin+e.location.pathname+e.location.search,ul:c.language?
(f.language||"").toLowerCase():void 0,de:c.characterSet?e.characterSet:void 0,
sr:c.screenSize?(a.screen||{}).width+"x"+(a.screen||{}).height:void 0,vp:c.screenSize&&
a.visualViewport?(a.visualViewport||{}).width+"x"+(a.visualViewport||{}).height:void 0,
ec:s||void 0,ea:t||void 0,el:u||void 0,ev:v||void 0,exd:w||void 0,exf:"undefined"!=typeof x&&
!1==!!x?0:void 0});if(f.sendBeacon)f.sendBeacon(z,A);else{var y=new XMLHttpRequest;
y.open("POST",z,!0),y.send(A)}};d.pushState=function(r){return"function"==typeof d.onpushstate&&
d.onpushstate({state:r}),setTimeout(n,c.delay||10),i.apply(d,arguments)},n(),
a.ma={trackEvent:function o(r,s,t,u){return n("event",r,s,t,u)},
trackException:function q(r,s){return n("exception",null,null,null,null,r,s)}}})
(window,"UA-176724878-1",{anonymizeIp:true,colorDepth:true,characterSet:true,screenSize:true,language:true});
</script>
</body>
</html>