Support

Home Forums Event Espresso Premium Improve your match quality by sending more parameters (with Meta Pixel)

Improve your match quality by sending more parameters (with Meta Pixel)

Posted: May 23, 2024 at 4:08 pm

Viewing 35 reply threads


BG

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:
Improve your match quality by sending more parameters
Similar advertisers who sent Email address for View content saw
a 2.88% median increase

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.


Rio

  • Support Staff

May 23, 2024 at 6:03 pm

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.
https://eventespresso.com/developers/event-espresso-pros/

thanks


BG

May 23, 2024 at 7:39 pm

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


Tony

  • Support Staff

May 24, 2024 at 3:27 am

Hi Rob,

I have the pro version so it should be pulling through the email, first name and second name data but it doesn’t.

Sorry, what do you mean by you have the pro version?

The parameters name I thought was fname and lname but it doesn’t detect it.

Where have you set this?


BG

May 24, 2024 at 3:39 am

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 –

https://snipboard.io/HBhzde.jpg


Tony

  • Support Staff

May 24, 2024 at 4:19 am

Ok, so PixelYourSite is using the name attribute there and that’s unique to each registration within EE.

So:

<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”>

The name in that instance is ee_reg_qstn[42274][fname]

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 ee_reg_qstn[1000][fname]

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]
ee_reg_qstn[1001][fname]
ee_reg_qstn[1002][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?


BG

May 24, 2024 at 4:38 am

This reply has been marked as private.


BG

May 24, 2024 at 6:29 am

Did you get my reply Tony? Thanks Rob


Tony

  • Support Staff

May 24, 2024 at 6:52 am

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.


BG

May 24, 2024 at 8:06 am

This reply has been marked as private.


Tony

  • Support Staff

May 24, 2024 at 1:24 pm

This reply has been marked as private.


BG

May 24, 2024 at 1:58 pm

This reply has been marked as private.


BG

May 24, 2024 at 2:34 pm

This reply has been marked as private.


BG

May 24, 2024 at 2:35 pm

This reply has been marked as private.


Tony

  • Support Staff

May 24, 2024 at 3:13 pm

This reply has been marked as private.


BG

May 24, 2024 at 3:29 pm

This reply has been marked as private.


Tony

  • Support Staff

May 24, 2024 at 4:33 pm

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.


BG

May 24, 2024 at 5:03 pm

This reply has been marked as private.


BG

May 24, 2024 at 5:33 pm

This reply has been marked as private.


BG

May 28, 2024 at 3:42 am

This reply has been marked as private.


BG

May 28, 2024 at 3:44 am

This reply has been marked as private.


Tony

  • Support Staff

May 28, 2024 at 9:45 am

This reply has been marked as private.


BG

May 28, 2024 at 10:28 am

This reply has been marked as private.


Tony

  • Support Staff

May 28, 2024 at 2:47 pm

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?


BG

May 28, 2024 at 3:47 pm

This reply has been marked as private.


Tony

  • Support Staff

May 28, 2024 at 6:21 pm

I have run a test and I can see in the Meta Pixel Helper plugin which you can add to Google Chrome, that advanced matching events such as fn (first name), ln (last name) etc are reporting as sent.

I have that Meta Pixel Helper installed but prefer to double check what is shown within Meta’s reporting.

Can Town/City be pulled through and Country?

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.


BG

May 29, 2024 at 4:46 am

This reply has been marked as private.


BG

May 29, 2024 at 4:47 am

This reply has been marked as private.


Tony

  • Support Staff

May 29, 2024 at 5:50 am

This reply has been marked as private.


BG

May 29, 2024 at 6:07 am

This reply has been marked as private.


BG

May 29, 2024 at 6:10 am

This reply has been marked as private.


Tony

  • Support Staff

May 29, 2024 at 6:36 am

I haven’t ran the updates yet as I didn’t want to affect anything you were doing. Is it safe to do the updates?

Yep, I don’t touch the code within other plugins. I’m hookin in using their hooks so updates should be fine.

I will be setting live in the not-too-distance future a new website site soon so will your changes be available for me to pull across?

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).

Back to your questions. The phone number could go back in.

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’m not sure I’m confortable asking people their date of birth. I don’t think it’s relevant? I could add it so it’s an option that will work if I decide to trial it.

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.

I’m happy for it to be your system question(s). No reason why it isn’t.

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?


BG

May 29, 2024 at 6:59 am

This reply has been marked as private.


Tony

  • Support Staff

May 30, 2024 at 3:36 am

This reply has been marked as private.


Tony

  • Support Staff

May 30, 2024 at 3:42 am

This reply has been marked as private.


BG

May 31, 2024 at 6:29 am

This reply has been marked as private.
Viewing 35 reply threads

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.

Event Espresso