Posted: May 23, 2024 at 4:08 pm
Good evening, I need help improving the performance of the information being sent back to our implemented Meta (Facebook) Pixel. Currently I am seeing messages like this saying: I don’t know how to setup fields like first name, surname, email address to send data. Can you provide code or could I pay for you to resolve this problem. |
|
I believe, you just need to get the pixel Script from your Meta then use the available hooks. You can also check this thread https://eventespresso.com/topic/using-facebook-pixel-to-track-conversion/ if you need help from pro, you can connect here. thanks |
|
I have the pro version so it should be pulling through the email, first name and second name data but it doesn’t. The parameters name I thought was fname and lname but it doesn’t detect it. In event espresso this is how the two fields look: <input type=”text” name=”ee_reg_qstn[42274][fname]” id=”ee_reg_qstn-42274-fname” class=”ee-required ee-reg-qstn ee-reg-qstn-fname ee-needs-value” required=”” value=”” style=”outline: none;” aria-invalid=”true”> <input type=”text” name=”ee_reg_qstn[42274][lname]” id=”ee_reg_qstn-42274-lname” class=”ee-required ee-reg-qstn ee-reg-qstn-lname ee-needs-value” required=”” value=”” style=”outline: none;” aria-invalid=”true”> Cheers Rob |
|
Hi Rob,
Sorry, what do you mean by you have the pro version?
Where have you set this? |
|
Hi Tony, I have a paid for plugin called PixelYourSite to track the activity of site visitors. I need to be capturing the data such as first name and last name to send to the Meta Pixel. If the event espresso ticket page was a standard form it would be a case of entering fname and lname as suggested in their help video below but it doesn’t work for this. https://www.youtube.com/watch?v=snUKcsTbvCk I have taken a screenshot of what I entered trying to make this work – |
|
Ok, so PixelYourSite is using the name attribute there and that’s unique to each registration within EE. So:
The name in that instance is The format is ‘ee_reg_qstn[{REG_ID}][{QUESTION_IDENTIFIER}]’ REG_ID will be unique each time that form loads, which applies for a single registration or multiple. If you add a single ticket and request info only for the primary registrant, that may creating one FName input… lets say the REG_ID in this example was 1000, so it would be If you select 3 tickets and requested info for all of them…. that FName field would be generated 3 times, each using the unique REG_ID for those 3 registrations. So 3 tickets would equal 3 registrations, lets say REG_ID 1000-10002, you’d have 3 FName form inputs: ee_reg_qstn[1000][fname] Which form should be captured/sent in those situations…. I assume the primary registrant data? I don’t think AUD is going to work for this setup without a custom integration but if you can send me a copy of PixelYourSite Pro I can check? |
|
This reply has been marked as private. | |
Did you get my reply Tony? Thanks Rob |
|
Ok, so it uses JavaScript to process form inputs and it uses includes() to check if the form name matches what has been set in those fields above. That won’t work for EE registrations because REG_ID is always unique so whatever you set in that field won’t work on the next registration and you can use any kind of ‘wildcard’ comparisons. The only other way I can see for this to work right now is using a custom function to set the values using a hook within Event Espresso. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Ok, plugin added. It sometimes takes a little for that to show up on your Facebook tracking but add a registration and see if shows the first name, last name and email from this point. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Hi Rob, Apologies for the delay. I’ve added the snippet to your site, can you check it now and see if the details are sent over? |
|
This reply has been marked as private. | |
I have that Meta Pixel Helper installed but prefer to double check what is shown within Meta’s reporting.
Yes, however, you’re using a custom field for City rather than the built in ‘State’ field which makes it a little more fragile. May I ask why you use a custom field? Country you don’t current request and hardcoding it to be GB may have unexpected results. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Yep, I don’t touch the code within other plugins. I’m hookin in using their hooks so updates should be fine.
They are within their own plugin so yes, although the code may need to be updated to work with the new registration questions (depending on how you do it).
As long as it’s using the System Question for phone, that will just work out the box if its added back in. I’l update the plugin so it doesn’t send empty values.
I’d think I’d say leave it out for now, it could always be added in at a later date but the results you have now 8/10 are acceptable anyway afaik.
Ok, so I was going to go in and set this up, but realised its going to split your questions into 2 groups… which is fine, but means the address (city and county) will be the last 2 questions shown. I can set it up on an event so you can see if that helps? |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
The support post ‘Improve your match quality by sending more parameters (with Meta Pixel)’ 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.