hi, as you know, for facebook and google is possible set a campaign payment not just for click or views but also for conversions. for facebook conversion (pixel code) i have to add a script code in the head of the page to check for convesion. please could you tell me how to add this code in the checkout page or in complete order page?
for google it's more easy because the code goes in the body
hi, using free module flexy custom code you can add your php code in a specific menu item, so if you add this code
$document = JFactory::getDocument();
in checkout item menu you will have the file js link
this not works for facebook, facebook needs the code in the head not the link to js file. hot to add script code? tx
I think the your solution is the only way to have this work. Seem this is the only way in Joomla to add a custome script code into the <head> tag.
Thank you for posting your solution here.
Have a client, (with whom you are no doubt familiar right now), who is looking to do this. Found this post via Googling for Facebook Pixel insertion in Joomla. As it is some three years old, is there an update on methodology for this?
That’s a wonderful share. I also have been thinking to target potential customers using FB ads. I have been learning the
facebook ads management
skills so this post was also quite helpful for me. I am sure that this platform will help me not only in getting the views but will be useful for conversions as well.