fbq('track', 'AddToCart', { value: 3.50, currency: 'USD' });. Each Facebook event has got one or more attributes. For example, the Facebook 'purchase' event has ...
Home
About
Testimonials
Services
GoogleAnalytics>MConsulting
FacebookMarketing
DigitalAnalyticsTraining
Blog
Books
DigitalAnalyticsTraining
Contact
LearntoSetupFacebookPixelviaGoogleTagManager
FacebookTracking,GoogleTagManager,SpecializedTracking
TableofContentsforLearntoSetupFacebookPixelviaGoogleTagManager
IntroductiontoFacebookPixel
IntroductiontoFacebookEvents
StandardVsCustomFacebookEvents
FacebookDefaultPixelCode
TrackingFacebookEvents
AddingFacebookDefaultPixelCodeonaWebsiteviaGoogleTagManager
TrackingFacebookEventonaWebsiteviaGoogleTagManager
TrackingFacebookEventonaWebsiteViaEventSetupTool
UsingFacebookPixelHelpertoTestFacebookEvents
Ifyouwanttotrackwebsite/MobileAppconversions(like‘sales’,‘leads’,‘signups’,‘addtocart’,etc)generatedbyFacebookusersonyourwebsiteinyourFacebookadvertisingaccountthenyouneedtodeploythe‘Facebookpixelcode’onallofyourwebsitepages.
Anotheradvantageofdeployingthe‘Facebookpixelcode’onyourwebsiteis, youcanthencreate‘customaudiences’inyourFacebookAdvertisingaccount.Throughcustomaudiences,youcanremarketyourwebsiteusersonFacebook.
Inthisarticle,Iwillshowyou,howtotestanddeploytheFacebookpixelcodeandFacebookeventcodeonyourwebsiteviaGoogleTagManager.
IntroductiontoFacebookPixel
Thetrackingcode(ortag)usedbyFacebookiscalledthe‘FacebookPixel’.ItisbasicallyabunchofJavaScriptcodewhichyoushouldaddtoyourwebsitesothatFacebookcan:
Trackandreportonyourwebsiteusersactivitieslikepageviews,viewcontent(viewingproductdetailpages),websitesearches,signups,leads,‘addtocart’,‘purchases’etc.
RetargetyourwebsiteusersonFacebook.
Findanewtargetaudience/customersforyourbusiness.
TrackandreportontheconversionsgeneratedbyyourFacebookads.
Automaticallyoptimizeyouradsforconversions.
FollowingisanexampleofFacebookPixelCode:
TheFacebookpixelcodecontainsauniqueIDcalledthe‘Pixelid’.Itisinaformatwhichresemblesamobilephonenumber.Forexampleinthepixelcodebelow:
s.parentNode.insertBefore(t,s)}(window,document,’script’,
‘https://connect.facebook.net/en_US/fbevents.js’);
fbq(‘init’,‘87945356632151151‘);
fbq(‘track’,‘PageView’);
TheFacebookpixelidis: 87945356632151151
Throughpixelid,FacebookisabletodifferentiatebetweenvariousFacebookadvertisers.
TheFacebookmachine-learningalgorithmusesthispixelcodetolearnaboutyourwebsiteusersonFacebook.ForexamplewhatFanpagestheylike,click,comment,peopletheyengagewith,etcondaytodaybasis.
Themorethepixelcodefiresonyourwebsite,themoreFacebooklearnsaboutyourwebsiteusersandbetteritbecomesintargetingthemandothersimilaraudiencestocompleteyourwebsiteconversions.
Whatthatmeans,ifyouhavegotbrand-newPixelcode,Facebookwillknowlittletonothingaboutyourwebsiteusers’activitiesonFacebook.Consequently,yourFacebookadsmayinitiallystruggletogeneratesales/leadsforyourwebsiteandyouarelikelytoseenegativeROI.
BusinesseswhoaremakingakillingonFacebook,generatingmillionsofdollarsinsalesviaFacebookads,allhavegotaverymaturedFacebookpixel.Sotheirpixelsknowalotmoreabouttheirtargetaudience/customersthanyourbrandnewpixel.
GettheE-Book(100Pages)
GettheE-Book(62Pages)
IntroductiontoFacebookEvents
TheFacebookpixelcodetrackyourwebsiteusers’activitiesonFacebook.
Facebookcallstheseusersactivities‘events‘.EachuseractivityisdefinedviaauniqueFacebookevent.
Forexample,users’purchaseactivityonyour websiteisdefinedviathe‘Purchase‘event:
fbq('track','Purchase',{
value:247.35,
currency:'USD'
});
Auser’s‘addtocart’activityonyourwebsiteisdefinedviathe‘AddToCart‘event:
fbq('track','AddToCart',{
value:3.50,
currency:'USD'
});
EachFacebookeventhasgotoneormoreattributes. Forexample,theFacebook‘purchase’eventhasgottwoattributes:‘value’(whichisthevalueofthepurchase)and‘currency’(thecurrencyinwhichthepurchasewasmade). Similarly,Facebook’s‘AddToCart’eventhasgottwoattributes:‘value’and‘currency’.
FollowingaretheexamplesofothereventsrecognizedbyFacebook:
#1Search–thiseventshouldbefiredwhenauserperformsasearchonyourwebsite.FollowingistheexampleofthecodeusedtotrackSearchEvent:
fbq('track','Search',{
search_string:'leathersandals'
});
#2 ViewContent–thiseventshouldbefiredwhenauservisitsanimportantcontentpageorproductdetailpageonyourwebsite.Followingistheexampleofthecodeusedtotrack‘ViewContent’Event:
fbq('track','ViewContent',{
value:3.50,
currency:'USD'
});
#3 AddToWishlist–thiseventshouldbefiredwhenauseraddsanitemtoawishlistonyourwebsite.Followingistheexampleofthecodeusedtotrack‘AddToWishlist’Event:
fbq('track','AddToWishlist',{
value:247.35,
currency:'USD'
});
#4 InitiateCheckout–thiseventshouldbefiredwhenauserentersthecheckoutonyourwebsite.Followingistheexampleofthecodeusedtotrack‘InitiateCheckout’Event:
fbq('track','InitiateCheckout');
#5 AddPaymentInfo–thiseventshouldbefiredwhenauseraddshispaymentinformationduringthecheckoutonyourwebsite.Followingistheexampleofthecodeusedtotrack‘AddPaymentInfo’Event:
fbq('track','AddPaymentInfo');
#6Lead–thiseventshouldbefiredwhenausersubmitsaleadonyourwebsite.Followingistheexampleofthecodeusedtotrack‘Lead’Event:
fbq('track','Lead',{
value:10.00,
currency:'USD'
});
#7 CompleteRegistration– thiseventshouldbefiredwhenausercompletesaregistrationonyourwebsite.Iusedthiseventtotracknewslettersubscribers. Followingistheexampleofthecodeusedtotrack‘CompleteRegistration’Event:
fbq('track','CompleteRegistration',{
value:25.00,
currency:'USD'
});
StandardVsCustomFacebookEvents
StandardFacebookeventsaretheonesthataredefinedbyFacebook.FollowingareexamplesofstandardFacebookevents:
Search
ViewContent
AddToWishlist
AddToCart
InitiateCheckout
AddPaymentInfo
Purchase
Lead
CompleteRegistration
CustomFacebookEvents aretheonesthataredefinedbypeoplelikemeandyou.Soifthereisanyusers’activitythatyoucannottrackviastandardFacebookeventsthenusethecustomFacebookeventsforthat.
Throughcustomevents,youcantrackanyusers’activityonyourwebsiteonFacebook.FollowingisthesyntaxfortrackingcustomeventsonFacebook:
fbq('track','',{
:,
:''
});
FacebookDefaultPixelCode
TheFacebookdefaultpixelcode(alsocalled‘pixelbasecode‘)referstothepixelcodesuppliedbyFacebook.Thiscodedoesnotcontainanycustomizationfromtheend-user(likeyouoryourdeveloper).ThiscodealsodoesnotcontainanystandardorcustomFacebookeventcode.
YoucanaddtheFacebookdefaultpixelcodeonyourwebsiteinthefollowingways:
Hardcodethepixelcodeonallthepagesofyourwebsite.
UseGoogleTagManagertodeploythedefaultpixelcodeonyourwebsite.
EntertheFacebookPixelid.ManyShoppingcartslike‘Shopify’canautomaticallyaddFacebookdefaultpixelcodeonyourwebsite.AllyouneedtodoissupplyyourFacebookpixelidtoyourshoppingcartsoftware.
TrackingFacebookEvents
InordertotrackaFacebookevent,youwouldneedtoaddtheeventcodeonyourwebsite.Youcanaddtheeventcodeinthefollowingways:
Hardcodetheeventcodeonyourwebsite.
UseGoogleTagManagertodeploytheeventcodeonyourwebsite.
EntertheFacebookPixelid.ManyShoppingcartslike‘Shopify’cantrackallstandardFacebookeventsautomatically.AllyouneedtodoissupplyyourFacebookpixelidtoyourshoppingcartsoftware.
Forexample,ifyouwanttotrack‘purchases’madebyusersonyourwebsite,withinFacebookthenyouneedtocopy-pastethefollowingsimilarcodeonyour‘orderconfirmation’page:
fbq('track','Purchase',{
value:247.35,
currency:'USD'
});
Notetheword‘similar’.Thisisnotgoingtobeyouractualcode.
Theactualcodeislikelytocontainserver-sidevariableswhichpulldatafromyourshoppingcart.InthecaseofGoogleTagManager,theactualcodeislikelytocontaindatalayervariablesthatpulldatafromthedatalayerembeddedonyour‘orderconfirmation’page.
Youcan,however,sendthisexamplecodetoyourdeveloperandtellhimtocollectthedatainthisformat.Heshouldunderstand,whattodonext.
AddingFacebookDefaultPixelCodeonaWebsiteviaGoogleTagManager
Followthestepsbelow:
Step-1:SignupforaFacebookBusinessManageraccount(ifyoualreadydon’thaveone).Throughabusinessmanageraccount,youcanmanagemultipleadvertisingaccounts.
Note:YouwouldneedapersonalFacebookaccountbeforeyoucansignupforabusinessmanageraccount.
Step-2:Useyourbusinessmanageraccounttocreateanewadaccount.Youcanalsousebusinessmanagertorequestaccesstoanyexistingadaccount(liketheonewhichbelongstoyourclient)ortoclaimyouradaccount(i.e.addyourexistingadaccounttoyourbusinessmanageraccount):
Note:TheURLofyourFacebookbusinessmanagersettingspagefromwhereyoucan:add,requestorcreateanewadvertaccountwilllooksomethingliketheonebelow:
https://business.facebook.com/settings/people?business_id=15546372665463115
Step-3:Makesureyouhaveaccesstothe FacebookAdvertisingaccountwitheither‘AdvertAccountAdmin‘(bestpermission)or‘AdvertAccountAdvertiser’permission:
TolearnmoreaboutgettingaccesstotheFacebookAdvertisingaccount,readthisarticle: https://www.facebook.com/business/help/195296697183682
Step-4:FromyourFacebookBusinessmanagerHomepage,navigatetotheadaccountforwhichyouwanttosetupthepixeltracking:
Note(1): TheURLofyourFacebookbusinessmanagerhomepage willlooksomethingliketheonebelow:
https://business.facebook.com/home/accounts?business_id=15546372665463115
Note(2):EachAdvertaccountrepresentsonewebsite.SoifyouhavegottwowebsitesforFacebookadvertisingthencreate/usetwoadvertsaccounts.
Note(3):Eachadvertaccounthasgotitsownuniquepixelcode.ThepixelidmakesaFacebookdefaultpixelcodeunique.
Step-5:Onceyouareinyourdesiredadvertaccountthenclickon‘BusinessTools’fromthe‘AdvertsReporting’menu(oranothersimilarmenu):
Anewpop-upwillappear,asbelow,nowclickon‘EventsManager’.
IfyourFacebookpixelisnotalreadysetupthenyouwillbeaskedtocreateanewdatasource:Clickon‘ConnectaDataSource’.
Anoverlaywillappearlikebelow,selectwebandthenclickon‘Getstarted’.
Nowselectaconnectionmethodas‘FacebookPixel’andthenclickon‘Connect’.
Anewpopupwillcomelikebelowshowingyoudetailsfor‘ConnectWebsiteActivityUsingFacebookPixel’.
Clickon‘Continue’.
NowgiveanametoyourFacebookpixel,addyourwebsiteURLandthenclickon‘Continue’.
NowyouhavecreatedyourFacebookpixel,thenextstepwillbetoconfigurethepixel.
However,ifyourFacebookpixelisalreadysetupthenclickonthe‘ContinuePixelSetup’button:
Youwillnowseethe ‘ConnectWebsiteActivityUsingPixel’dialogboxwithoptionstoinstallFacebookpixelcodes.
Wewillfirstselectthe‘Usepartneroption’.
Ifyouwanttoseestepsfor‘installcodemanually’thenjumptostep-17.
UsingPartnerOption
Step-6:ClickontheUseapartner’option.
AfterclickingYouwillnowseeanotherdialogboxwithavailablepartners.
Step-7:Select‘GoogleTagManager’.
Step-8:Youwillgetadialogboxlikebelow‘ConnectYourGoogleTagManagerAccounttoFacebook’.ClickonNext.
Step-9:Thenextdialogboxwillbefor‘TurnOnAutomaticAdvancedMatching’.Turnthetogglebuttontoonandclickon“Next”.
Step-10:Anewpop-upwindowwillcomelikebelowaskingyouforyourGoogleAccountcredentials.ThisisnecessarytoprovideaccesstoFacebooktoyourGoogleTagManagerContainer.AddYouremailandclickon‘Next’.
Step-11:ThenextstepistoallowFBpixelwithfewpermissions.ThisisrequiredtoprovideFBPixelpermissionstocreateTagsandPublishthecontainer.Clickon‘Allow’.
Step-12:ANewdialogboxwillcomelikebelowwhereyouneedtoselecttheGoogleTagManagerAccountandcontainername.Onceselected,clickon‘FinishSet-Up’.
Step-13:Onceyouclickon‘Finishsetup’,FacebookwillautomaticallycreateataginyourGoogleTagManagercontainerandpublishtheversionlive.YoucanlogintoyourGoogleTagManagercontainerandcheckit.
Nowclickonthe‘Next’intheFacebookwindow(Wewilldiscusstheeventsetuplaterinthisarticle).
Step-14:NowClickon“Finish”toconfirmthesetup.
Step-15:Youwillberedirectedtothemainwindow.Clickon‘TestEvents’.
Step-16:NowaddyourURLinthetextboxandclickon‘Openwebsite’.
ItwillopenanewwindowwithyourwebsiteURL,navigatebacktotheFacebookconsole.
Ifyouseethebelowimagewithagreensignalandshowingeventsreceivedas‘Processed’thatmeansyouhavesuccessfullyconfiguredFacebookPixelusingGoogleTagManager.
CongratulationsyouhavesuccessfullyconfiguredFacebookPixelusingthepartneroption.
UsingManualCoding
NowwewillseehowwecaninstalltheFacebookpixelcodemanually.
Step-17:Whenyougetthe‘ConnectWebsiteActivityUsingPixel’dialogbox,withoptionstoinstallFacebookpixelcodes.
Clickon‘InstallCodeManually’.
Step-18: Youwillberedirectedtoanewconsolelikebelow.Clickon‘CopyCode’.
Havethiscodereadyinyournotepad,thecodewilllooklikebelow:
Nowclickon‘Continue’atthebottomofthepage.
Step-19:Nowtoggleonthe‘AutomaticAdvancedMatching’option.Itwill,bydefault,turnontheinformationtypesunder‘customerinformation’.Thenclickon‘Continue’.
Step-20:Nowclickon‘GotoPixelOverView’.
Step-21:NowopentheNotepadfilewhereyouhavepastedtheFacebookPixelCode.ModifythecopiedFacebookpixelcodeinsuchawaythatitfiresonlywhenthefollowingconditionistrue:
if((document.location.href.search('appspot.com')==-1)&&(document.referrer.search('appspot.com')==-1))
Sothefinalcodewilllooksimilartotheonebelow:
HerethehighlightedcodeinboldtextistheadditionalcodeaddedtotheFacebookdefaultpixelcode.
Withoutthiscode,GoogleTagManager,mostlikely,goingtoinflateyourFacebookpixeldata.Forexample,reportingmore‘addtocarts’or‘purchases’thantheoneactuallyoccurredonyourwebsite.
YouarelikelytoseealotofFacebookpixelsfiredforvisitscomingfromhttps://gtm-msr.appspot.com/render2. ThisURLisgoingtoappearas‘ReferringURL’inyourFacebookPixelreports.
SowhatIhavedonehere,isnottofiretheFacebookdefaultpixelcodeifthecurrentandreferringURLcontains‘appspot’.
WearegoingtousethismodifiedFacebookpixelcodeinGTM.
Note:Ifyouhaveusedthepartnerinstallation,youcanstillmodifythecodeinstep-21byloggingintoyourGoogleTagManageraccountandeditingtheFacebookPixelcode.
Step-22:LogintoyourGoogleTagManageraccountandcreateanewcustomHTMLtag.
Step-23:Nameyournewtag‘Facebookdefaultpixelcode’andthenpastethemodifiedFacebookpixelcodeinthetextarea:
Step-24:Clickonthe‘AdvancedSettings’linkandmakesurethatthe‘Tagfiringoptions’issetto‘OncePerPage’:
Step-25:Setthetagtofireonallpagesofyourwebsite:
Step-26:Saveyournewtagandthenpreviewittoseewhetheritfiresonallofyourwebpages.
Step-27:Publishyourcontainer.
TrackingaFacebookEventonaWebsiteviaGoogleTagManager
Letussupposeyouwanttotrack‘addtocarts’onyourwebsitewithinFacebooksothatyoucanseewhichFacebookadsareresultingin‘addtocart’activityonyourwebsite.
Followthestepsbelow:
Step-1:Clickonthe‘Addevents’drop-downFacebookpixelpageandthenselect‘FromthePixel’.
Step-2:Clickon the‘Installeventsusingcode’optionthenItwillredirectyoutotheFacebookDeveloperpageinthenewwindow.
Scrolldowntillyousee‘StandardEvents’thenclickonthelinkforafulllistofstandardevents.
Youwillnowseealistofstandardecommerceevents.
Step-3:Copytheeventnameyouwanttocreatefromthelist.Inourcaseits‘AddToCart’.
Step-4:Nowmodifyitinsuchawaythatitfiresonlywhenthefollowingconditionistrueandaddtothefinalcodeavailablebelow.
if((document.location.href.search('appspot.com')==-1)&&(document.referrer.search('appspot.com')==-1))
Sothefinalcodewilllooksimilartotheonebelow:
HerethehighlightedcodeinboldtextistheadditionalcodeaddedtotheFacebook‘addtocart’eventcode.WearegoingtousethismodifiedeventcodeinGTM.
Step-5:LogintoyourGoogleTagManageraccountandcreateanewcustomHTMLtag.
Step-6:Nameyournewtag‘SendAddtoCartEventtoFacebook’andthenpastethemodifiedFacebookpixelcodeinthetextarea:
Note:YouwouldneedtocreateaseparatecustomHTMLtagforeachuniqueFacebookevent.
Step-7:Clickon‘AdvancedSettings’andthenclickon‘TagSequencing’:
Step-8: Selectthecheckboxnamed‘FireatagbeforeSendAddtoCartEventtoFacebookfires’andthenselect‘Facebookdefaultpixelcode’fromthe‘SetupTag’:
Here‘Facebookdefaultpixelcode’isthetagIcreatedtofireFacebookpixelcodeviaGTM.
Step-9: Selectthecheckbox‘Don’tfireSendAddtoCartEventtoFacebookifFacebookdefaultpixelcodefails’.
Step-10:Firethistagonlyonthosewebpageswhichcontainthe‘AddtoCart’buttonandwhenthebuttonisclicked.
Step-11:Testwhetherthistagfirecorrectly.Ifitdoesthenpublishthecontainer.
Step-12:RepeatStep1to11forotherFacebookevents.
TrackingaFacebookEventonaWebsiteviaEventSetupTool
AnotherwaytoaddeventstothewebsiteisbyusingtheEventSetupToolprovidedbyFacebook.
Thisfunctionalityiscalled‘AutomaticEvents’.AutomaticeventsareactionsthatyourFacebookpixelreceivesfromyourwebsitethatdon’trequireyoutoaddanyadditionalcode.
Yourpixelreceivestheseactionsthroughvisitoractivityandbyusinginformationaboutyourwebpagetounderstandthecontextassociatedwiththeseactionsbetter.Thistoolisavailableinthesettingsoptions.Youcanturnthistool‘ON’or‘OFF’.
IfyouwanttohavetrackuserinteractionsonthewebsitewithoutaddinganycodetothewebsitetoGoogleTagManageryoucanusethistool.Followthebelowstepstoknowhowtousethisfunctionality.
Followthebelowstepstounderstandmore,Inthisexample,Iamgoingtotrackabuttononmywebsite.
Step-1:Gotothe‘Settings’sectionofyourFacebookPixelandswitchonthetogglebuttonunder‘TrackEventsAutomaticallywithoutCode’.
Step-2:Nowclickonthe‘OpenEventSetupTool’.
Step-3:EntertheURLofyourwebsiteandclickon‘OpenWebsite’.
Step-4:ItwillopenyourwebsiteinanewtabalongwithasmallFacebookEventSetupToolwindowontop.
Step-5:Nowclickonthe‘TrackNewButton’optionavailableintheFacebookeventsetuptool.
Note:YoualsogetanoptiontotrackaURL(youcanuseittotrackeventsonparticularpagesforexamplepurchaseeventontheorderconfirmationpage).
Step-6:Onceyouclickon‘TrackNewButton’,itwillhighlightalltheclickablelinksonthewebsite.Inthebelowimageyoucanseenumbers1-9soIcantrackanylinkorbuttonandsendittoFacebook.
Asanexample,let’strackthe‘ReadMore’button.
Step-7:Clickonthe‘Readmore’button.Youwillseeanewoverlayconsoleas‘SetUpEvent’withadrop-downshowing‘Selectanevent’.
Step-8:Clickonthedrop-downandselecttheeventtypeyouwanttocreate.
Step-9:Ifyoureventhassomevalueyoucanselectfromtheoptionsavailablesuchas‘ChooseValueonPage’and‘Don’tincludeanyvalue’andthenclickonconfirm.Ifyouselect‘ChooseValueonPage’youcanselectthevaluefromthepageitselfjustlikeweselectedthebutton.
Note:Youalsogetanoptiontoadd‘ContentID’and‘Content-Type’andtheseoptionswillalsobehighlightedonthepageandyoucanselectitjustlikeweselectedthebutton
Step-10:Onceconfirmed,youcanseetheeventisbeinglistedasgreenonthewebsiteanditsalsoaddedintheFacebookEventSetupTool.
Step-11:NownavigatebacktoFacebookPixelPage(Console)andclickon‘Disconnect’.
Step-12:NowJustrefreshthepageonyourwebsiteandclickonthetrackedbuttontovalidate.NavigatebacktotheFacebookconsoleandclickon‘TestEvents’.
IfyouseethebelowimagethatmeansyouhavesuccessfullycreatedtheeventusingtheEventSetupTool.
Using‘FacebookPixelHelper’toTestFacebookEvents
Followthestepsbelow:
Step-1:InstalltheFacebookPixelHelperChromeextensionandenableit.Thisadd-onisusedtovalidatevariousFacebookpixelevents.Oncethisadd-onisenabled,itwillappearasabuttonatthetopright-handsideofyourchromebrowserwindow.
Ifthisadd-ondoesnotfindanyFacebookpixelonawebpage,itwillappearinagreycolor:
However,ifthisadd-ondoesfindFacebookpixel(s)onawebpage,itwillappearinadarkbluecolorwithalittlegreenboxwhichshowsthenumberofFacebookpixelsfoundonawebpage:
Ifyouclickonthisbutton,youcangetmoredetailsaboutthetypeofFacebookpixelsfiredonawebpage,aswellastheircurrentvalidationstatus:
ThegreencheckmarknexttoeachFacebookevent(‘PageView’,‘Lead’,‘Purchase’etc)showsthattheFacebookpixelforthatparticulareventisfiringcorrectly.
Step-2:Navigatetoanywebpageofyourwebsiteandthenusethe‘Facebookpixelhelper’tooltotestwhetherthe‘pageview’pixelisfiredonthewebpageandwhetherthepixelisfiringcorrectlyforeachtrackedFacebookevent:
SincethereisagreencheckmarknexttotheFacebook‘PageView’event,itmeanstheeventisfiringcorrectly.
Note:The‘Facebookdefaultpixelcode’whichwejustdeployedviaGTMonthewebsitefireonlytheFacebook‘PageView’event.ItdoesnotfireanyotherFacebookeventlike‘viewcontent’,‘addtocart’,‘lead’,‘purchase’etc.Forthat,youwillalsoneedtodeploytheFacebookeventcodeonyourwebsiteviaGTM.
Step-3:Toconfirmfurther,navigatetoyour Facebookpixelpageandlookfor‘Active’statusnexttotheevents:‘PixelInitialized’and‘Pageview’:
The‘Active’status100%confirmthattheFacebookdefaultpixelisfiringcorrectly.
RelatedArticles
facebook.comReferralTrafficinGoogleAnalyticsExplained
FacebookAttributionandConversionWindowsTutorial
FacebookROICalculation,AnalysisandExamples
HowtosetuptheFacebookAttributionTool
HowtoSetupFunnelsinFacebookAdsManager
HowtousefunnelsforyourFacebookAdCampaigns
HowtoadvertiseonFacebookforFREEwithunlimitedbudget
SecrettoSetupFacebookPixelTrackingCorrectlyinGoogleTagManager
FacebookPixelvsGoogleAnalyticsDataDiscrepancies
facebook.comReferralTrafficinGoogleAnalyticsExplained
SendFacebookPixelPurchaseEventviaGoogleTagManager
OpenGraphProtocolforFacebookExplainedwithExamples
TrackingFacebook‘Likes’and‘Unlikes’inGoogleAnalytics
GoogleAnalyticsforFacebookTutorial
FacebookAttributionModelsTutorial
GTMServerSideTaggingforFacebookTutorial
OtherarticlesonspecializedtrackinginGoogleAnalytics
GoogleAnalyticsEcommerceTrackingTutorial
GoogleTagManagerEventTrackingTutorial
GoogleAnalyticsEventTrackingTutorial
GoogleAnalyticsStoreVisitsTrackingTutorial
OfflineConversionTrackinginGoogleAnalytics–Tutorial
EcommerceTrackingGoogleTagManager(GTM)–Tutorial
TrackingVirtualPageviewsinGoogleTagManager–Tutorial
GoogleTagManagerYouTubeVideoTracking
HowtounlocknotprovidedkeywordsinGoogleAnalytics?
GoogleAnalyticsVirtualPageviewsTutorial
GoogleAnalyticsandYouTubeIntegrationTutorial
GoogleAnalyticsforFacebookTutorial
CrossDomainTrackinginGoogleAnalytics–CompleteGuide
HowtousetwoGoogleAnalyticscodesononepage
Theonethingthatyoudon’tknowaboutPayPal.comandthereferralexclusionlist
GoogleAnalyticsCalculatedMetrics–Tutorial
CreatingyourownGoogleAnalyticsTagAuditingSystem
GoogleTagManagerSearchTrackingwithoutQueryParameter
TrackingGoogleAnalyticsPaypalReferralandotherpaymentgateways
HowtoTrackPhoneCallsinGoogleAnalytics–CallTrackingTutorial
HowtotrackleadsinGoogleAnalyticsviaCRM
PostbacksinGoogleAnalyticsExplained
Subscription&RecurringRevenueAnalyticsinGoogleAnalytics
TracktheImpactofGoogleAnalyticsCookieConsentonWebsiteTraffic
TrackingOfflineConversionsinGoogleAds
ImplementingScrollTrackingviaGoogleTagManager
ScrollDepthTrackinginGoogleTagManager–Tutorial
SiteSearchTrackingInGoogleAnalyticsWithoutQueryParameters
GoogleTagManagerYoutubeVideoTrackingviaYouTubeVideoTrigger
HowtoCorrectlyMeasureConversionDate&TimeinGoogleAnalytics
GoogleAnalyticsSocialTracking–Twitter,Facebook,GooglePlusandLinkedIn
CrossDomainTrackinginGoogleAnalytics–CompleteGuide
GoogleAnalyticsLinkedin&TwitterTracking
CreatingContentGroupinGoogleAnalyticsviatrackingcodeusinggtag.js
GoogleAnalyticsSiteSearchTrackingviaQueryParameters
GoogleAnalyticsSiteSearchTrackingTutorial
CreatingandUsingSiteSearchFunnelinGoogleAnalytics
AMPGoogleAnalyticsTracking–LearntotrackAMPpages
SettingupSalesFunnelacrosswebsitesinGoogleAnalytics
RegexGoogleAnalytics&GoogleTagManager–Tutorial
RegisterfortheFREETRAINING...
"HowtouseDigitalAnalyticstogeneratefloodsofnewSalesandCustomerswithoutspendingyearsfiguringeverythingoutonyourown."
Here’swhatwe’regoingtocoverinthistraining…
#1Whydigitalanalyticsisthekeytoonlinebusinesssuccess.
#2Thenumber1reasonwhymostmarketersarenotabletoscaletheiradvertisingandmaximizesales.
#3WhyGoogleandFacebookadsdon’tworkformostbusinesses&howtomakethemwork.
#4Whyyouwon’tgetanycompetitiveadvantageinthemarketplacejustbyknowingGoogleAnalytics.
#5Thenumber1reasonwhyconversionoptimizationisnotworkingforyourbusiness.
#6HowtoadvertiseonanymarketingplatformforFREEwithanunlimitedbudget.
#7Howtolearnandmasterdigitalanalyticsandconversionoptimizationinrecordtime.
MybestsellingbooksonDigitalAnalyticsandConversionOptimization
MathsandStatsforWebAnalyticsandConversionOptimization
Thisexpertguidewillteachyouhowtoleveragetheknowledgeofmathsandstatisticsinordertoaccuratelyinterpretdataandtakeactions,whichcanquicklyimprovethebottom-lineofyouronlinebusiness.
MastertheEssentialsofEmailMarketingAnalytics
Thisbookfocusessolelyonthe‘analytics’thatpoweryouremailmarketingoptimizationprogramandwillhelpyoudramaticallyreduceyourcostperacquisitionandincreasemarketingROIbytrackingtheperformanceofthevariousKPIsandmetricsusedforemailmarketing.
AttributionModellinginGoogleAnalyticsandBeyondSECONDEDITIONOUTNOW!
Attributionmodellingistheprocessofdeterminingthemosteffectivemarketingchannelsforinvestment.Thisbookhasbeenwrittentohelpyouimplementattributionmodelling.Itwillteachyouhowtoleveragetheknowledgeofattributionmodellinginordertoallocatemarketingbudgetandunderstandbuyingbehaviour.
AttributionModellinginGoogleAdsandFacebook
ThisbookhasbeenwrittentohelpyouimplementattributionmodellinginGoogleAds(GoogleAdWords)andFacebook.Itwillteachyou,howtoleveragetheknowledgeofattributionmodellinginordertounderstandthecustomerpurchasingjourneyanddeterminethemosteffectivemarketingchannelsforinvestment.
AbouttheAuthor
HimanshuSharma
Founder,OptimizeSmart.com
Over15yearsofexperienceindigitalanalyticsandmarketing
Authoroffourbest-sellingbooksondigitalanalyticsandconversionoptimization
NominatedforDigitalAnalyticsAssociationAwardsforExcellence
Runsoneofthemostpopularblogsintheworldondigitalanalytics
Consultanttocountlesssmallandbigbusinessesoverthedecade
error:Alert:Contentisprotected!!