| @@ -1,0 +1,13 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +if (!defined('ABSPATH')) { | |
| 4 | + exit; | |
| 5 | +} | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * Variables that should be passed to the view | |
| 9 | + * @var string $script_url | |
| 10 | + * @var string $hash | |
| 11 | + */ | |
| 12 | +?> | |
| 13 | +<script>function loadScript(a){var b=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.src="<?php echo esc_attr($script_url) ?>",c.onreadystatechange=a,c.onload=a,b.appendChild(c)}loadScript(function(){beTracker.t({hash:"<?php echo esc_html($hash) ?>"})});</script> | |