This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
//Syracuse University | |
//Installing DTD tools for main donation form | |
//https://cusecommunity.syr.edu/s/1632/17/form/landing.aspx?sid=1632&gid=2&pgid=383&sitebuilder=1&contentbuilder=1 | |
//Syracuse public API key | |
var DDCONF = {API_KEY: "YTQ4NDNhNTktYjIy"}; | |
//loading the dtd script wipes out localstorage, so capture that data early | |
var dtd_streamlined_search_data = {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wp_footer', 'google_analytics_link_tracking' ); | |
function google_analytics_link_tracking() { | |
?> | |
<script type="text/javascript"> | |
function _gaLt(event) { | |
/* If GA is blocked or not loaded, or not main|middle|touch click then don't track */ | |
if (!ga.hasOwnProperty("loaded") || ga.loaded != true || (event.which != 1 && event.which != 2)) { | |
return; | |
} |