Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
Normal
You need to fire off the viewContent event. Where content_ids on SRP is an array of all the stock numbers and on VDP it just the stock id. (Assuming stock ids is your id for the item in catalog)https://developers.facebook.com/docs/facebook-pixel/api-reference#eventsThe pixel api will also read microdata from Schema.org or OpenGraph.Manual event route.#VDPtry {fbq('track', 'ViewContent', {content_name: '2011 Buick LaCrosse CXS',content_category: 'Vehicles & Parts > Vehicles > Motor Vehicles',content_ids: ['4681041'],content_type: 'product'});} catch(e) {console.log(e);}#SRPtry {fbq('track', 'ViewContent', {content_ids: ['4681041','4681042','4681121'],content_type: 'product'});} catch(e) {console.log(e);}For debugging.https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en
You need to fire off the viewContent event. Where content_ids on SRP is an array of all the stock numbers and on VDP it just the stock id. (Assuming stock ids is your id for the item in catalog)
https://developers.facebook.com/docs/facebook-pixel/api-reference#events
The pixel api will also read microdata from Schema.org or OpenGraph.
Manual event route.
#VDP
try {
fbq('track', 'ViewContent', {
content_name: '2011 Buick LaCrosse CXS',
content_category: 'Vehicles & Parts > Vehicles > Motor Vehicles',
content_ids: ['4681041'],
content_type: 'product'
});
} catch(e) {
console.log(e);
}
#SRP
content_ids: ['4681041','4681042','4681121'],
For debugging.
https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en