Sorry I can’t understand what you try to tell me.
This is my javascript i need to be implemented in thankyou.php page but this page don’t have <head>.The only file where I found is on header.php.
1.Copy and paste the following code between <head> and </head> on the page of your website on which you want to track actions. For example, to track registrations, place the code on your ‘registration completed’ web page.
<script type=”text/javascript”>
var fb_param = {};
fb_param.pixel_id = ‘XXXXXXXXXX’;
fb_param.value = ‘0.00’;
fb_param.currency = ‘USD’;
(function(){
var fpw = document.createElement(‘script’);
fpw.async = true;
fpw.src = ‘//connect.facebook.net/en_US/fp.js’;
var ref = document.getElementsByTagName(‘script’)[0];
ref.parentNode.insertBefore(fpw, ref);
})();
</script>
<noscript><img height=”1″ width=”1″ alt=”” style=”display:none” src=”https://www.facebook.com/offsite_event.php?id=6016044956826&value=0¤cy=USD” /></noscript>