Support

Home Forums Event Espresso Premium Facebook Pixel code (registration, checkout and thank you page)

Facebook Pixel code (registration, checkout and thank you page)

Posted: April 18, 2016 at 4:16 pm


Chingy

April 18, 2016 at 4:16 pm

Hi

I’ve looked at some (very) old posts on the forum but all seem confusing.

How do I install the Facebook Conversion Pixel code to the following seperate pages?

  1. Registration (where select ticket)
  2. Checkout (where payment info)
  3. Thank you (successful completion)


Lorenzo Orlando Caum

  • Support Staff

April 19, 2016 at 5:08 am

Hello,

You could use this plugin and then enable it on the registration checkout page through the pages editor within your WP dashboard:

https://wordpress.org/plugins/facebook-conversion-pixel/


Lorenzo


Chingy

April 19, 2016 at 11:12 am

Thanks but we want to depend on as few plugins as possible. I imagined that this would be just as easy to achieve by putting the code in, but do you know which templates I should modify/copy/edit in order to do it manually?


Lorenzo Orlando Caum

  • Support Staff

April 19, 2016 at 2:35 pm

Hi,

That is a valid concern. If you are comfortable with PHP and are using a child theme, then try these instead:

Add JS to registration checkout: https://gist.github.com/lorenzocaum/397b6ca09bc1d1ab96b7

Add JS to the thank you page:
https://gist.github.com/lorenzocaum/307016676842e4f5c456

It could also be added via a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/).


Lorenzo


Chingy

April 19, 2016 at 3:58 pm

Thats worked – perfect thank you

The support post ‘Facebook Pixel code (registration, checkout and thank you page)’ 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