I'm working on a website where the page doesn't load the url just changes and the pages shows up. I added a JavaScript code to the page but the code only runs when I refresh the page and not when I click the link to get to the page. Can someone help me out?
This is the code:
<script>
var idcomments_acct = '83e4fbf73e5268d6ddbbabd9e697add5';
var idcomments_post_id;
var idcomments_post_url;
</script>
<span id="IDCommentsPostTitle" style="display:none"></span>
<script type='text/javascript' src='https://www.intensedebate.com/js/genericCommentWrapperV2.js'>
</script>