Support

Home Forums Event Espresso Premium Facebook Pixel integration – conversion events from dynamic fields, errors

Facebook Pixel integration – conversion events from dynamic fields, errors

Posted: October 19, 2019 at 11:55 am

Viewing 2 reply threads


Adam Bowie

October 19, 2019 at 11:55 am

Hey guys, we are longtime customers, and always appreciate of the quality support. Just wanted to say in advance, before I unleash my problems ๐Ÿ™‚

I have been struggling to get a Facebook pixel to fire properly and pass the data for some conversion events during checkout.

A prior support thread between another customer and Josh & Tony has been helpful:
https://eventespresso.com/topic/facebook-pixel-populate-dynamically-fields-from-event-espresso-event/
but I probably got in a little over my head fiddling with the php, and now I am having some fatal errors show in the log files. Today and tomorrow will be big ticket sales days, so if visitors get locked out or are having problems, it is a big deal.

Basically I took the code from the referenced thread (which was available here: https://gist.github.com/amistry007/a4cdc3af229aa77c3e960f0c083829e1). At the end of the thread, Tony mentions a number of additional improvements to the code… and I unwisely tried to wing it and do myself.

The modified code I used is here: https://gist.github.com/rushhourmarketing/6690627a209cb47c16a311baad0f5140
My guess is that the problems are obvious to someone who can read the code…

I am using our Support Token for this, could someone perhaps take a look into this and maybe help me fix the code? I will send more details in the form submission for the support token.

The specific errors I see in the logs references this: https://share.getcloudapp.com/6quDx7pQ

Thank you very much,
A


Adam Bowie

October 19, 2019 at 11:57 am

Forgot to opt-in to email notifications for thread…


Tony

  • Support Staff

October 21, 2019 at 5:15 am

Hi Adam,

Just noting that we have received your support token and I have replied directly via email, please follow up there and I’ll take a look at the code used.

Viewing 2 reply threads

The support post ‘Facebook Pixel integration – conversion events from dynamic fields, errors’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso