-
Notifications
You must be signed in to change notification settings - Fork 0
/
buy.html
84 lines (71 loc) · 3.34 KB
/
buy.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
79
80
81
82
83
84
<html>
<head>
<title>Buy AniCLover @ DNA Lounge | Saturday, November 23</title>
<meta property="og:url" content ="https://aniclover.com/buy"/>
<meta property="og:type" content="website"/>
<meta property="og:title" content="AniCLover @ DNA Lounge | Saturday, Nov 23"/>
<meta property="og:description" content="Anime songs, otaku EDM, & Vocaloid"/>
<meta property="og:image" content="https://aniclover.com/assets/DNA Announcement 45.jpg"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:site" content="@aniclover"/>
<meta name="twitter:title" content="AniCLover @ DNA Lounge | Saturday, Nov 23"/>
<meta name="twitter:description" content="Anime songs, otaku EDM, & Vocaloid"/>
<meta name="twitter:image" content="https://aniclover.com/assets/DNA Announcement 45.jpg"/>
<script type="text/javascript">
var QUERY_STRING = "utm_campaign=2024NovDNA&utm_source=fbig"
var BASE_URL = "https://aniclover.com/dna-ticket-info"
var joinChar = '?';
if (window.location.search) {
joinChar = '&';
}
const targetUrl = BASE_URL + window.location.search + joinChar + QUERY_STRING;
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-N8ZJV5T');</script>
<!-- End Google Tag Manager -->
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '949142891921298');
fbq('track', 'Lead');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=949142891921298&ev=PageView&noscript=1"
/></noscript>
<!-- End Meta Pixel Code -->
<script>
function redirect(count) {
console.log("Redirect count: "+count)
if ((typeof fbq !== 'undefined') && (fbq.version > '2.9')) {
window.location = targetUrl;
} else if (count > 20) {
window.location = targetUrl;
} else {
setTimeout(() => {redirect(count + 1)}, 100);
}
}
window.addEventListener('load', function() {
dataLayer.push({'event': 'fbig_view', 'eventCallback': ()=>{redirect(0)}, 'eventTimeout' : 2000})
})
</script>
<!-- <meta http-equiv="refresh" content="0; URL=https://aniclover.com?utm_campaign=2024NovDNA&utm_source=fbig" /> -->
</head>
<body>
<a id="link" href="https://aniclover.com/dna-ticket-info?utm_campaign=2024NovDNA&utm_source=fbig">Click here to continue to buy tickets</a>
<script type="text/javascript">
const link = document.querySelector("#link")
link.setAttribute("href", targetUrl)
</script>
</body>
</html>