Monetizing links incompatability?

I am running the latest version of Ghost at the time of writing, using the Bitnami distribution.

I’m trying to install a javascript code snippet before the /body close that in theory should monetize outgoing clicks to a program provided by VigLink. However, the javascript does not seem to be doing it’s job and the hrefs are not being rewritten. My question is, is Ghost incompatible with this type of code because of it’s own rewriting of hrefs?

Here is the code I am installing that does not work correctly:

Can you please share the link to your site? Ghost doesn’t prevent you from doing anything like that; you control pretty much everything that’s on your site