• Stop being a LURKER - join our dealer community and get involved. Sign up and start a conversation.

Reply to thread

if you have schema.org then the stock id should be the sku value. If not then you are better off changing your catalog to match that ID. As same thing could be used for Adwords/Bing re-targeting


To auto do this... you need to be able to add some java script... may be using Google Tag Manager and assuming you have a way to select the html element that has the stock id in it and say you have jQuery... then it is something like this...


var stockIds = [];

jQuery('div.stockNum').each(function(){

    stockIds.push(jQuery(this).text());

});

fbq('track', 'ViewContent', {

content_ids: stockIds,

content_type: 'product'

});