Hi, this might be it… just installed the T- plugin a few days ago on a test site and got it formatted and working perfectly. Moved the site to production and everything was great. Then noticed the countdown stopped. Didn’t really make any changes to the site, EXCEPT I put the google analytics code back in. If I take out the GA code, it works fine. Nothing to do with the jquery.min.js file from another post (this file isn’t loaded in my page at all with or without the GA code). Any idea what google is doing to get this to work again?
This is the standard GA code:
<script type="text/javascript">
var _gaq = _gaq || [];
var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
_gaq.push(['_setAccount', 'UA-xxxxxxxx-1']);
_gaq.push(['_setDomainName', 'xxxxxxx.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'https://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Looking at the console, if GA is installed, t- gets this error (otherwise no error):
Uncaught TypeError: undefined is not a function jquery.t-countdown.js?ver=1.5:129
(anonymous function)
Update: I noticed that Dirty Bill’s site is working fine and is using the new GA code. My site is using the old GA code. I put in a request and transferring to the new system & code and see if that fixes it.