Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook pixel: PageView vs. ViewContent

Tags:

facebook

Sorry if this has been asked many times but I really got confused on how to use facebook pixel.

I have a landing page (success page) where I want to track how many users have landed to that page.

I am confused between PageView and ViewContent.

In my case, what should I use so I can track the pixel?

like image 903
Donna Avatar asked Oct 11 '16 13:10

Donna


1 Answers

@Andrew's answer shows the most useful Facebook page for events.

Watch out because there is another page that shows a similar list of events without even mentioning any parameters. It just says to do fbq('track', 'ViewContent') which is USELESS!

You must do the following to get useful data:

fbq('track', 'ViewContent', { content_name: 'Homepage' });

The PageView event just automatically sends the URL and takes no parameters and is part of the default configuration.


Also be sure to use the 'Test Events' panel to see in real time (instantly!) when your events come through.

enter image description here

like image 85
Simon_Weaver Avatar answered Oct 19 '22 17:10

Simon_Weaver