Issue With Tag Script In Head_Scripts.post.tpl (Cs Cart Ultimate)

Hello,

if I insert google global site tag script to head_scripts.post.tpl in my changes add on (Ultimate), it appears in the head twice, after the last and before but only in the main store. In the rest of the stores it appears only before .

if i use the same code in scripts.post.tpl then it appears in the head for the main store and in the body for all other stores.

Here is the code:

{literal} 



{/literal}

Any idea what could be wrong?

It looks like cache issue. Choose one solution (both should work) and delete the var/cache directory manually