Kapalı

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:

[“16566,20113”]

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

['16566','20113']

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ün: market detail s id com facebook katana, oscommerce multiple product slideshow 4985, multiple product images lightbox, 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, aspnet display multiple product images, oscommerce add multiple product attributes, cartweaver multiple product options

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

Proje NO: #15136085

10 freelancers are bidding on average $19/hour for this job

whitehatseom

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

22$ USD / saat
(68 Değerlendirme)
6.0
leadconcept

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 fazlası

22$ USD / saat
(2 Değerlendirme)
5.1
kumarmanish0001

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)
5.2
lalitkaur7

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 fazlası

15$ USD / saat
(49 Değerlendirme)
4.8
ssinghdagur

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 fazlası

22$ USD / saat
(15 Değerlendirme)
4.5
qualifiedcoders

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 fazlası

15$ USD / saat
(11 Değerlendirme)
2.4
fa8875615

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)
1.7
sprakriti

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 fazlası

15$ USD / saat
(2 Değerlendirme)
0.7
bestwork99

Hi, I am interested to your job.I am fully expert in Data entry,web research, Lead Generation, extracting email, data mining, Google, Bing, Yahoo, MS Office (Full), Google Docs, Google Document, Google Spreadsheet, Adw Daha fazlası

22$ USD / saat
(0 Değerlendirme)
0.0
madhusudandixit

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

22$ USD / saat
(0 Değerlendirme)
0.0