Skip to content

Commit 3582be0

Browse files
author
Denise Yu
authored
Merge pull request #102 from github/remove-ga
Remove Google Analytics script block
2 parents 5ab660a + c22e04d commit 3582be0

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

docs/2017/index.html

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -252,25 +252,6 @@ <h3 class="alt-h3 mb-3">Subscribe to GitHub Open Source updates</h3>
252252
</footer>
253253
</main>
254254

255-
256255
<script src="/assets/js/bundle.js"></script>
257-
<script>
258-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
259-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
260-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
261-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
262-
263-
ga('create', 'UA-3769691-75', 'auto');
264-
ga('send', 'pageview');
265-
266-
document.querySelector('.js-download').addEventListener('click', function() {
267-
ga('send', {
268-
hitType: 'event',
269-
eventCategory: 'survey-data',
270-
eventAction: 'download',
271-
eventLabel: '2017 Open Source Survey'
272-
})
273-
})
274-
</script>
275256
</body>
276257
</html>

0 commit comments

Comments
 (0)