Skip to content

Commit

Permalink
Merge pull request #22 from sanger-pathogens/single_page_tracking
Browse files Browse the repository at this point in the history
Set tracking script for single-page view
  • Loading branch information
blue-moon22 authored Apr 13, 2022
2 parents 456b7ed + 3049323 commit 031c3a8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
<script src="https://unpkg.com/docsify-themeable"></script>
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
<script type="text/javascript" src="/zxtm/piwik2.js"></script>
<script>
window.addEventListener('hashchange', function() {
_paq.push(['setCustomUrl', '/F2/']);
_paq.push(['setDocumentTitle', 'F2 Training']);
_paq.push(['trackPageView']);
});
</script>

<link rel='stylesheet' id='simple-cookie-css' href="https://www.sanger.ac.uk/wp-content/plugins/wordpress-simple-cookie-plugin/cookies-min.css" type='text/css' media='' />
<meta name="simplecookie_policy" content="/policies/cookies/" />
Expand Down

0 comments on commit 031c3a8

Please sign in to comment.