Formatting issue with multiple product id’s – facebook pixel “AddToCart” event

I’m wondering if you can help me out with a Datalayer related query to do with Facebook.

I set up a new variable to pass my product id’s (eccom_prodid) to my Facebook tags for events such as AddToCart; Purchase etc. Everything works fine if there is only one product id in the cart but as soon as there is more than 1 I get a “can’t match products” error in the FB pixel checker. When I looked into the issue further in FB business manager they are flagging a formatting issue as follows:

When multiple product id’s are passed in the tag the format being passed to FB looks like this:


Facebook is asking for the following format with each individual id wrapped in single quotes:


Is there a way to format the ecomm_prodid in the Datalayer as outlined by FB or set up an alternative version that is formatted as above? Alternatively is there a way to achieve the same thing by formatting the variable in GTM?

Appreciate any steer you can provide.

Kind Regards, Charles

Beceriler: Facebook API, Facebook Pazarlama, Google Analytics

Daha fazlasını gör: market detail s id com facebook katana, oscommerce multiple product slideshow 4985, multiple product images lightbox, facebook dynamic product ads pixel, facebook dynamic product ads example, facebook pixel dynamic events, facebook pixel dynamic ads, facebook dynamic ads real estate, facebook content_ids, facebook pixel content id, facebook pixel content_type, facebook marketing, oscommerce multiple product images, magento multiple product sizes, oscommerce multiple product attrributes, flash multiple product images, oscommerce multiple product attributes, magento multiple product import, oscommerce multiple product fields, oscommerce multiple product upload

İşveren Hakkında:
( 96 değerlendirme ) Alma, Canada

Proje NO: #15136085

Bu iş için 9 freelancer ortalamada $19/saat teklif veriyor


I am a Google Analytic and Google adword certified professional & Google Tag Manager with over 10 years experience. [login to view URL];idtf=116552004758509563843; ======Welcome to Cover lett Daha Fazla

$22 USD / saat
(78 Değerlendirme)

Hello Charles, I have read Project Description & yes it is possible by changing concatenation of one and many separately and write their code separately. It looks like a simple task, so can you please tell me wha Daha Fazla

$22 USD / saat
(2 Değerlendirme)

Hi.. Greetings! I am AdWords & Analytics Certified | Search & Display Campaign Certified | GTM Expert | Google Shopping Expert | Multiple FB Campaigns including Targeting & Retargeting List - Creating Cam Daha Fazla

$15 USD / saat
(59 Değerlendirme)

Hello, I have more than 7 year of expeience of GTM data layer and Google analytic. Lets talk if my profile impress you. Thanks Manish

$21 USD / saat
(27 Değerlendirme)

Hello, I read your requirements carefully and I would like to understand more about the objectives. I am Digital Marketing Professional and Social Media strategist with over 10 years of experience. I am expert in Daha Fazla

$22 USD / saat
(17 Değerlendirme)

Hi Charles, Good Day! We have read your post and would like to discuss further as we have a team of experienced professionals in our company who have expertise in developing web/mobile/desktop based applications Daha Fazla

$15 USD / saat
(11 Değerlendirme)

Hello I am faruk ahmed, I am interested about your work. Can you provide me the details about that? Waiting for your reply. Best Regards faruk ahmed

$16 USD / saat
(8 Değerlendirme)

hey Charles, Yes I can help you out with a Datalayer related query to do with Facebook. With SMO i.e Social Media Optimization we deal with your Social Value Brand image. We can help with management of your Fac Daha Fazla

$15 USD / saat
(2 Değerlendirme)

Hello, I am Google adwords and analytic certified - [login to view URL] Over the last 7 years, I help clients increase their visibility and improve business results online through web presence optimization - th Daha Fazla

$22 USD / saat
(0 Değerlendirme)