Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Survey: Add Analytics and Open Graph meta tags #1688

Merged
merged 1 commit into from
Jun 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions external/survey-2018/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@
<head>
<meta charset="utf-8">
<title>Web Survey Report 2018 | Node.js</title>

<link rel="dns-prefetch" href="https://www.google-analytics.com">

<link rel="apple-touch-icon" href="/static/apple-touch-icon.png">
<link rel="icon" sizes="32x32" type="image/png" href="/static/favicon.png">

<meta property="og:site_name" content="Node.js">
<meta property="og:title" content="Web Survey Report 2018 | Node.js">
<meta property="og:image" content="https://nodejs.org/static/images/logo-hexagon-card.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="224">
<meta property="og:image:height" content="256">

<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@nodejs">
<meta name="twitter:title" content="Web Survey Report 2018 | Node.js">
<meta name="twitter:image" content="https://nodejs.org/static/images/logo-hexagon-card.png">
<meta name="twitter:image:alt" content="The Node.js Hexagon Logo">

<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="bootstrap.min.css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" >
Expand Down Expand Up @@ -2228,7 +2247,22 @@ <h4><i>(Top Impacts)</i></h4>
<script src="d3.v3.min.js"></script>
<script src="data.min.js"></script>
<script src="full.min.js"></script>

<script src="/static/js/dnt_helper.js"></script>
<script>
(function(){
if (!_dntEnabled()) {
!function(n,o,d,e,j,s){n.GoogleAnalyticsObject=d;n[d]||(n[d]=function(){
(n[d].q=n[d].q||[]).push(arguments)});n[d].l=+new Date;j=o.createElement(e);
s=o.getElementsByTagName(e)[0];j.async=1;j.src='//www.google-analytics.com/analytics.js';
s.parentNode.insertBefore(j,s)}(window,document,'ga','script');

if (!ga) return;

ga('create', 'UA-67020396-1', 'auto');
ga('send', 'pageview');
}
})();
</script>
</body>
</html>