Skip to content

Commit

Permalink
Merge pull request #3 from ReactionMechanismGenerator/update_ga
Browse files Browse the repository at this point in the history
Attempt to update Google Analytics due to deprecation of Google UA
  • Loading branch information
jonwzheng authored Jun 27, 2024
2 parents 31d3c58 + 0195de8 commit 65a73ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Reaction Mechanism Generator
Copyright (c) 2024 Reaction Mechanism Generator

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
17 changes: 8 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,14 @@ <h3>
</footer>
</div>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-24556433-3");
pageTracker._trackPageview();
} catch (err) {}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TBF6RF8547"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-TBF6RF8547');
</script>


Expand Down

0 comments on commit 65a73ed

Please sign in to comment.