ps_what Posted February 24 Share Posted February 24 (edited) Hello all, in PS 1.7.6.1 I'm having trouble to add a Meta Pixel. I edited the file /var/www/shop_name/themes/current_theme/templates/_partials/head.tpl to include all the code Meta provided. I also wrapped it with {literal}{/literal} I tried several things like not using "literal" which broke the page, so I'm 100% sure this is the right "head.tpl" file. Not sure what I'm doing wrong here. Tried placing the content on top, middle and bottom of the file. Tried removing the HTML comment "<!-- Meta Pixel Code -->". Nothing seems to work. Any help would be greatly appreciated. Thanks in advance! Head.tpl file: Meta error: Edited February 24 by ps_what (see edit history) Link to comment Share on other sites More sharing options...
ps_what Posted February 24 Author Share Posted February 24 SOLVED So everything was setup fine, the problem I faced was that my browser had an inbuilt adblocker. When I whitelisted both facebook and my website it worked perfectly. I hope this can help anyone facing similar issues. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now