One of the reasons that people don’t use Facebook ads is that there is little return on investment, without a pinpoint targeted audience. But what if you do want to use Facebook Ads? Green means everything is cool!Īs everything seems perfect, I mailed my client ( cartridgeonline) the code and asked him to add the code in his site’s head.phtml file.If you never have, and never will contemplate using Facebook Ads as part of your marketing strategy, Facebook Pixel has probably passed you by. I check it and it seems everything is in green! I love green. After saving head.phtml file, I need to test the site with “ Facebook Pixel Helper” addon. If you install Magento in your PC (localhost) then theme name should be “ base”Īfter placing the code in head.phtml, it looks like following: Facebook Pixel Code will only work if you place them in the section.Īpp\design\frontend\( Your theme*)\default\template\page\html Head.phtml is the header file of Magento. Okay great! Now I need to paste this code in head.phtml Now Facebook pixel code looks like following: I don’t want to customize the code again for some events in the forthcoming days and hence I added all standard events. So I customize default Facebook Pixel Code and added all standard events. If you don’t know what are standard events and how do you use them, please check this article: If you notice above code closely, you will see there are no standard events added in the code. Here is the pixel code for my client that I generated from Facebook ad campaign: If I see any success, I would ask my client to add the code in his site. Now I can test Facebook pixel code on localhost with Facebook pixel helper. I also have “ Facebook Pixel Helper” installed in Chrome browser. I can just paste the code in a file called head.phtml and it will work like a charm!įor your information, I have a Magento demo site installed in locathost (my PC). At that time, I don’t need to install a Magento extension to place Facebook Pixel Code. How to add Facebook pixel code on MagentoĪfter checking couple of articles, I have found a clue where to add the code. How to add Facebook’s new pixel code in Mangeto How to add Facebook new conversion pixel in Magento I found many video tutorials but none of them are (new) user friendly! They are all built for coders or developers.Īs I didn’t get much help from Youtube so I tried following searches on Google:įacebook new conversion tracking placement in Magento As a result, I have to find another way to add this Facebook conversion pixel code on Magento site.Īs I am not a coder or advanced user of Magento, first I tried to look at Youtube (in case there’s one or two helpful video tutorials) with this search: How to Add Facebook Conversion Pixel to Magento But as many of you know by now, Facebook introduced new Facebook conversion pixel code known as Facebook Pixel Code and it’s more advanced that the older one, most of the existing Magento extensions don’t support this new Facebook Pixel Code. As I never did that before, I was hoping to find one or two Magento extensions that might solve the issue. Well, I was trying to add Facebook’s new conversion pixel code for one of my client’s Magento site. Unfortunately, there are hardly good tutorials on Magento and it’s extensions! Moreover, there are tons of helpful tutorials on almost every topic on WordPress. There are many things you need to study on Magento! Of course, it’s also applicable for WordPress but in my personal opinion, WordPress is much more friendlier than Magento. To find out final version please check: How to Add Facebook Conversion Pixel to Magento – Part 2 This post demonstrates how to add all standard events on Magento.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |