papTrack is not defined

If on your website after inserting click integration code is generated javascript error "papTrack is not defined", you should review, if javascript library loaded from script /scripts/clickjs.php is not corrupted.

How will I troubleshoot this problem e.g. on domain https://www.demo.qualityunit.com/pax4/

1. I will check if script clickjs.php generates valid javascript file by entering url to my browser:
https://www.demo.qualityunit.com/pax4/scripts/clickjs.php


2. If this is working, I will check, if I have correct click integration code inserted from merchant panel.
Integration code you can copy and paste again from Tools -> Integration -> Clicks menu
e.g. in my case is correct code:
<script id="pap_x2s6df8d" src="https://www.demo.qualityunit.com/pax4/scripts/clickjs.php" type="text/javascript">
</script>
<script type="text/javascript">
<!--
papTrack();
//-->
</script>