Whenever I get a feed file from a data provider without the VDP URL i always use a bit of javascript and RegEx to automatically build out those links.
They're not that bad, once you get used to them and the syntax.@mwpistell Man... I hate RegEx!! Really powerful but man, they're a pain in the rear sometimes!! LOL
@Emilie Benn Most website providers isn't going to do that for you! Let me change that. They probably have a tool of some sorts you can subscribe to for a fee to manage your Facebook campaigns. They won't do it out of the goodness of their heart though That's where your going to have to get creative and work around this roadblock. I'll take a look at your site in a few. I'm a little covered up right now. Keep in mind, even if you get the product catalog structured correctly, when a visitor lands on a VDP, you need JS on the page to trigger, to be able to extract the Vin off the page and pass that Vin back to Facebook so that Facebook knows what vehicle they looked at so you can retarget that person with that specific vehicle and others like it! What happens if they submit a lead on your site while on it??? Do you what to retarget them as well?? What happens if they submit a lead and come in a couple days later and buy the car??? Are we still retargeting them on Facebook as well??? These are things you need to keep in mind. These are some of those triggers that @umer.autojini touched on. Do you have any experience with JS? Also, who do you use for inventory syndication??
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
try {
fbq('track', 'ViewContent', {
content_ids: ['4681041','4681042','4681121'],
content_type: 'product'
});
} catch(e) {
console.log(e);
}
For debugging.
https://chrome.google.com/webstore/...helper/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en