Aaand of COURSE I forgot the error message, haha! Was trying to make sure I gave you everything that I forgot the most important thing. ??
Timestamp: 4/17/2015 2:54:53 PM
Error: ReferenceError: UserWebStat_gC is not defined
Source File: https://REMOVED.tld/wp-content/sedlex/inline_scripts/95a3d2f52bcb922eed43e103ac98d360822034f5.js?ver=20150417
Line: 36
Let me pre-emptively get you the actual code…
/*====================================================*/
/* FILE /sedlex/inline_scripts/62f21a71d4d66c45c33e255a38a9c24267932b13.js*/
/*====================================================*/
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-40731908-1']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
function acceptGoogleCookies() {
UserWebStat_sC("whatChoiceForGoogleCookies","ACCEPT_COOKIE",30) ;
jQuery('#infoGoogleCookies').remove() ;
jQuery(".google_traffic_cookies_allow").hide() ;
jQuery(".google_traffic_cookies_refuse").show() ;
}
function refusGoogleCookies() {
UserWebStat_sC("whatChoiceForGoogleCookies","REFUS_COOKIE",30) ;
jQuery('#infoGoogleCookies').remove() ;
jQuery(".google_traffic_cookies_allow").show() ;
jQuery(".google_traffic_cookies_refuse").hide() ;
}
function whatChoiceForGoogleCookies() {
var choix = UserWebStat_gC("whatChoiceForGoogleCookies") ;
if (choix==null) {
return "NO_CHOICE" ;
}
return choix ;
}
jQuery(function() {
// On gere les boutons
if (whatChoiceForGoogleCookies()=="REFUS_COOKIE") {
jQuery(".google_traffic_cookies_allow").show() ;
jQuery(".google_traffic_cookies_refuse").hide() ;
} else if (whatChoiceForGoogleCookies()=="ACCEPT_COOKIE") {
jQuery(".google_traffic_cookies_allow").hide() ;
jQuery(".google_traffic_cookies_refuse").show() ;
} else {
jQuery(".google_traffic_cookies_allow").show() ;
jQuery(".google_traffic_cookies_refuse").show() ;
}
}) ;
function show_optIn(){
jQuery("<div id='infoGoogleCookies' style='z-index:1000; border:1px solid black; opacity:0.9;background-color:#999999;width:100%;position:fixed;top:0px;color:#EEEEEE;'> <p style='text-align:center'>This site may uses cookies for statistics with Google Analytics. Do you accept such cookies? <input type='button' onclick='acceptGoogleCookies()' value='Accept' /> or <input type='button' onclick='refusGoogleCookies()' value='Refuse' /></p></div>").appendTo( "body" );
}