Skip to content

Commit 6b0398f

Browse files
committed
Survey: Add Analytics and Open Graph meta tags
1 parent af48bf5 commit 6b0398f

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

external/survey-2018/index.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
<head>
44
<meta charset="utf-8">
55
<title>Web Survey Report 2018 | Node.js</title>
6+
7+
<link rel="dns-prefetch" href="https://www.google-analytics.com">
8+
9+
<link rel="apple-touch-icon" href="/static/apple-touch-icon.png">
10+
<link rel="icon" sizes="32x32" type="image/png" href="/static/favicon.png">
11+
12+
<meta property="og:site_name" content="Node.js">
13+
<meta property="og:title" content="Web Survey Report 2018 | Node.js">
14+
<meta property="og:image" content="https://nodejs.org/static/images/logo-hexagon-card.png">
15+
<meta property="og:image:type" content="image/png">
16+
<meta property="og:image:width" content="224">
17+
<meta property="og:image:height" content="256">
18+
19+
<meta name="twitter:card" content="summary" />
20+
<meta name="twitter:site" content="@nodejs">
21+
<meta name="twitter:title" content="Web Survey Report 2018 | Node.js">
22+
<meta name="twitter:image" content="https://nodejs.org/static/images/logo-hexagon-card.png">
23+
<meta name="twitter:image:alt" content="The Node.js Hexagon Logo">
24+
625
<link rel="stylesheet" href="style.css">
726
<link rel="stylesheet" href="bootstrap.min.css">
827
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" >
@@ -2228,7 +2247,22 @@ <h4><i>(Top Impacts)</i></h4>
22282247
<script src="d3.v3.min.js"></script>
22292248
<script src="data.min.js"></script>
22302249
<script src="full.min.js"></script>
2250+
2251+
<script src="/static/js/dnt_helper.js"></script>
22312252
<script>
2253+
(function(){
2254+
if (!_dntEnabled()) {
2255+
!function(n,o,d,e,j,s){n.GoogleAnalyticsObject=d;n[d]||(n[d]=function(){
2256+
(n[d].q=n[d].q||[]).push(arguments)});n[d].l=+new Date;j=o.createElement(e);
2257+
s=o.getElementsByTagName(e)[0];j.async=1;j.src='//www.google-analytics.com/analytics.js';
2258+
s.parentNode.insertBefore(j,s)}(window,document,'ga','script');
2259+
2260+
if (!ga) return;
2261+
2262+
ga('create', 'UA-67020396-1', 'auto');
2263+
ga('send', 'pageview');
2264+
}
2265+
})();
22322266
</script>
22332267
</body>
22342268
</html>

0 commit comments

Comments
 (0)