Jump to content

chrysophylax

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • First Name
    Goran
  • Last Name
    Kordić

chrysophylax's Achievements

Newbie

Newbie (1/14)

3

Reputation

1

Community Answers

  1. Hi guys, if anyone still cares, here's the method for implementing the Facebook tracking pixel on Prestashop 1.6 confirmation page. 1. Find your order confirmation page. Usually it's inside your theme's folder and it's named order-confirmation.tpl 2. Open the file. 3. Go to Facebook and copy the pixel tracking code provided by them inside the notepad or sublime, whatever you're using. Now you have to add {literal} tags in order for this to work. Add tags after <script>. It should look something like this, someone already posted it before me: <script>{literal}(function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fbds, s); _fbq.loaded = true; } _fbq.push(['addPixelId', '288710801334961']); })(); window._fbq = window._fbq || []; window._fbq.push(['track', 'PixelInitialized', {}]); </script> <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook...ixelInitialized" />{/literal}</noscript> 4. Here's something that probably confuse a lot of people, since Facebook recommends pasting the code in between <head> and </head>, but you obviously don't have that in your .tpl file, so paste the code below <h1 class="page-heading">{l s='Order confirmation'}</h1> and save it 5. Now make a test order on your shop and don't close order confirmation page after you're done. Go back to Facebook and there should be a green dot next to your pixel. This means it's working. This method worked for me, hope it will work for you too.
  2. I've managed to solve it, but thanks for your reply. There was no hook for that position, like you said. Thanks anyway
  3. Hi, first of all, I can't seem to find problems like mine, so I had to open new topic. I apologize if there's already similar thread. I have the problem with module repositioning using the live editor. I'm using Leo theme (converse), and when I go to live editor and drag one of the modules above Featured products module everything is fine. Color is green, it looks great, I hit save, but on the homepage changes are not visible even after I clear the cache or use different browser. What could cause this issue?
×
×
  • Create New...