Twitter count works locally and on staging but on production stays at zero


After combing through the docs, I haven’t been able to find an answer for this.

I’m attempting to build a page with multiple articles. Each article has its own tweet button and thus there are multiple tweet buttons on the page with their own unique count of tweets. I’ve got it to work locally and on a live staging site. However, when I pushed the code to production, the tweet counts are frozen at 0.

Link to page with broken buttons:

Button Code:

<a href="" class="twitter-share-button tweet-anchor" data-url="" data-counturl="" data-text="...tweet content...">Tweet</a>
window.twttr = (function (d,s,id) {
  var t, js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return; js=d.createElement(s);;
  js.src=""; fjs.parentNode.insertBefore(js, fjs);
  return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } });
}(document, "script", "twitter-wjs"));