+ All Categories
Transcript
Page 1: Facebook Pixel for Remarketing - Configuration Instructions...Facebook Pixel for Remarketing for Magento 2 Facebook Pixel for Remarketing can be configured in few simple steps. We

FacebookPixelforRemarketingforMagento2FacebookPixelforRemarketingcanbeconfiguredinfewsimplesteps.Wewillguidethrougheachstepinthisdocument.

InstallationInstructions

ManualInstallation(ZipFile)

1) ItisalwaysagoodpracticetomakeabackupofyourMagentoinstallationbeforeinstallinganyextension.

2) ExtractthecontentofthezipfileanduploadittoyourMagentorootinstallationfolder.Incaseyouareaskedtomergeorreplaceanyfiles,choosetoMERGEthefiles.

3) Open your command line terminal, go to your Magento root directory and run the following commands to enable the module:

php bin/magento module:enable Remmote_Facebookpixelremarketing php bin/magento setup:upgrade

2.1 IfyourMagentoinstallationisinproductionordefaultmode,youmightneedtorunthe

followingcommandinordertogeneratethestaticfilesforyourcurrentinstallation(Learnmoreinhttp://alanstorm.com/magento-2-frontend-files-serving)

php bin/magento setup:static-content:deploy

Page 2: Facebook Pixel for Remarketing - Configuration Instructions...Facebook Pixel for Remarketing for Magento 2 Facebook Pixel for Remarketing can be configured in few simple steps. We

ConfigurationInstructionsFirst, open your Admin Panel and go to Stores in the leftmenu. After that go to Settings>Configuration.Insidetheconfigurationpage,clickonFacebookPixelRemarketingSettings:

Page 3: Facebook Pixel for Remarketing - Configuration Instructions...Facebook Pixel for Remarketing for Magento 2 Facebook Pixel for Remarketing can be configured in few simple steps. We

GeneralConfigurationThissectionisusedtoconfigureyourFacebookPixelID,toenableordisabletheextension,andalsotoconfigurethecheckbox“UseProductIDinsteadProductSKU”(ItwillbeusedonFacebookPixelEventsandFacebookProductCatalog).YoucanfindyourFacebookPixelIDinyourFacebookAdsaccount.

AfteryouhaveidentifiedyourFacebookPixel,youcancontinuewiththegeneralconfigurationtab.

Page 4: Facebook Pixel for Remarketing - Configuration Instructions...Facebook Pixel for Remarketing for Magento 2 Facebook Pixel for Remarketing can be configured in few simple steps. We

FacebookPixelEventsAfteryouhaveconfiguredtheextensionwithyourFacebookPixelID,nextstepistoenabletheeventsyouwanttotrackinyourstore.Werecommendtrackingalltheevents.IfyouarerunningFacebookProductAds,theevents“ViewContent”,“AddToCart”and“Purchase”arerequired.OnceyouhaveenabledFacebookPixelevents,youwillstartreceivingdatainyourFacebookAdsaccount.Allowfewhoursbeforeyoustartseeingthestatsinyouraccount.

Ifyouwanttovalidatethattheeventsarebeingtrackedcorrectly,youcaninstalltheextensionFacebookPixelHelperinyourGoogleChromebrowser.Forexample,ifyouwanttovalidatethattheeventViewContentisworking,justgototheindividualpageofanyproductinyourstoreandcheckiftheGoogleChromeExtensionrecognizestheViewContentevent:

Page 5: Facebook Pixel for Remarketing - Configuration Instructions...Facebook Pixel for Remarketing for Magento 2 Facebook Pixel for Remarketing can be configured in few simple steps. We

FacebookProductCatalogsIfyouareplanningtorunFacebookDynamicAds,firstyouneedtouploadtheproductsyouwanttopromotetoyourFacebookbusinessaccount.YoucaneasilyuploadyourproductstoFacebookusingthisextension.Ifyoustilldon’thaveaFacebookbusinessaccount,youcancreateonehere.Followthenextstepstoconfigureyourproductcatalogs:Step1ThefirstthingyouneedtodoistogenerateaCSVfilecontainingalistoftheproductsyouwantto upload. This CSV filewill be generated following Facebookproduct catalogs specs. Beforeclickingthebutton“ExportNow”,makesureyouhaveconfiguredandsavedthechangesfortheoptions“Exportallproducts”and“Extraattributes”.Youneedtosavethechangeseachtimeyouupdateaconfigurationifyouwanttoseetheeffectswhenclickingthebutton“ExportNow”.Ifyouhavemorethanonewebsiteinyourstore,selecttherightwebsiteintheleftcorneroftheextensionconfigurationview.

Page 6: Facebook Pixel for Remarketing - Configuration Instructions...Facebook Pixel for Remarketing for Magento 2 Facebook Pixel for Remarketing can be configured in few simple steps. We

Whenyouclickthebutton“ExportNow”,anewCSVfilewillbecreatedandapubliclinktoyourproductcatalogwillbegenerated.YoucandownloadtheCSVfilebyclickingthelink“Downloadthe.csvfile”.ThepubliclinkisusefulwhensettingperiodicuploadstoFacebook.Youwillneedthislinklater.

Configuringtheextensiontoexportallproductsoronlyselectedones(Optional):Itispossibletoexportonlyselectedproducts.Ifyouwanttoexportonlyselectedproducts,settheoption“Exportallproducts”toNoandsavetheconfigurations.Second,gototheindividualproductyouwanttoexportandsettheoption“UseforFacebookProductCatalog”toYes.Youcanalsosetadifferentproductdescription for theexportedproducts.Finally,gobacktotheextensionconfigurationandclickthebutton“ExportNow”.Magento2

Magento2.1

Page 7: Facebook Pixel for Remarketing - Configuration Instructions...Facebook Pixel for Remarketing for Magento 2 Facebook Pixel for Remarketing can be configured in few simple steps. We

GoogleProductTaxonomyWhen exporting your products to Facebook, you can optionally include the google producttaxonomytowhich theybelong.This information isadded in theproductcategoriesandyouneedtodoitmanually.Magento2

Magento2.1

Page 8: Facebook Pixel for Remarketing - Configuration Instructions...Facebook Pixel for Remarketing for Magento 2 Facebook Pixel for Remarketing can be configured in few simple steps. We

Configuringtheextensiontoexportadditionalattributes(Optional):Theextensionisconfiguredtoexportthefields:“id,title,google_product_category,description,link, image_link, condition, availability, price, sale_price, brand, color” (These are the defaultattributesrequiredbyFacebook).Inadditiontothesefields,itispossibletoexportextraproductattributes by including them in the extension configuration. You first need to create theseattributesandassignthemtoyourproducts.Forexample,ifyouwanttoexporttheadditionalattributes “weight”, “meta_description” and “msrp” enter these attribute in the field “Extraattributes”andsavethechanges.ThisisaBetafeature,soifyouarehavinganyissuesexportingyourproductcatalog,justsetthisfieldtoempty.

Step2After generating yourCSV file,next step is touploadyourproduct catalog to your Facebookbusinessaccount. InyourFacebookbusinessaccount,gotoProductCatalogsandAddaNewProductFeed.SetyourpreferencesanddefinewhetheryouwanttouploadtheCSVmanuallyorschedulerecurringuploads,thenclickNext.

SingleUploads:ClickChooseFileandselecttheCSVfileyouhavedownloadedinprevioussteps.ClickNextandinthenextview(ReviewyourFile),clickCreateFeedandwaituntiltheprocessfinish.

Page 9: Facebook Pixel for Remarketing - Configuration Instructions...Facebook Pixel for Remarketing for Magento 2 Facebook Pixel for Remarketing can be configured in few simple steps. We

RecurringUploads:Ifyourproductcatalogchangesquiteoften,werecommendsettinguprecurringuploadssoyoucankeepyourproductcataloginFacebookuptodate.Ourextensionsupportsrecurringuploadsandyoucanconfigurerecurringuploadsinyourstoreusingtheinstructionsbelow.Tobeginusingthisfeature,startbyconfiguringthetimethatyouwantFacebooktoimportyourproductcatalog.Forexample,ifyouwanttoimportyourproductsdailyat3am.SetthistimeinthesectionScheduleUploads. IfyouconfigureFacebookat3am,makesuretoconfiguretheextensiontogeneratetheCSVfileeverydayattimeto2am.Itisrecommendabletohaveenoughtime between both processes. In the section Feed URL, use the URL that was generated inprevioussteps.LeaveblackthefieldsUsernameandPasswordandclickCreateFeed.Waituntiltheprocessfinish.

Onceyouaredone,youshouldsomethingsimilartothis:

Page 10: Facebook Pixel for Remarketing - Configuration Instructions...Facebook Pixel for Remarketing for Magento 2 Facebook Pixel for Remarketing can be configured in few simple steps. We

Configuringtheextensiontorunrecurringuploads:InordertorunScheduledRecurringUploads,youneedtoenabletheoption“EnableRecurringUploads”intheextension.SchedulethetimeandfrequencyyouwanttheextensiontogenerateanewCSV file and save the configurations. For example, if youhave scheduled Facebook toimportyourproductsat3am,set2amasthetimefortheextensiontogenerateanewCSVfile,thiswayMagentowillhaveenoughtimetogeneratethenewCSVfile.ThefieldLastExportTimeindicatesthedateandtimethattheproductcatalogfilewasgenerated.Thisfieldisupdatedbothwhenexportingproductsmanuallyorusingtherecurringoption.

Important:This feature runs usingMagento Cron System so make sure yourMagento Cron is workingcorrectly.ConfiguringtheMagentoCronisacommontaskwhensettingupMagentostores.Ifyouarenotsureaboutthisconfiguration,youcancontactyoursystemadministratororserverprovidertoaskaboutthis.YcanlearnmoreaboutMagentoCroninthislink.Notes:AlwaysInstallMagentoextensionsindevelopmentenvironmentfirsttoavoidanyissuesinproductionenvironment.You are done with extension configuration. If you are having any questions or havingdifficultiesconfiguringtheextension,feelfreetogetintouchwithusatinfo@remmote.com.Ifyouhaveanyfeedbackstoimprovetheextension,theyarealsoverywelcome!

FromtheRemmoteteam,wewishyouhappysales!


Top Related