-
Notifications
You must be signed in to change notification settings - Fork 0
/
direct.html
54 lines (47 loc) · 2.02 KB
/
direct.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
<html>
<head>
<title>Direct Redirect</title>
<script type="text/javascript">
var QUERY_STRING = "utm_campaign=2024NovDNA&utm_source=website"
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 -->
<!-- <meta http-equiv="refresh" content="0; URL=https://aniclover.com/dna-ticket-info?aff=direct" /> -->
</head>
<body>
<a id="link" href="https://aniclover.com/dna-ticket-info?aff=direct">Click here to continue to buy tickets</a>
<script type="text/javascript">
const link = document.querySelector("#link")
link.setAttribute("href", targetUrl)
window.location = targetUrl;
</script>
</body>
</html>