Posted: April 3, 2019 at 4:11 am
Hi I am using the latest versions of the core and all plugins. I have searched the forum and cannot find how to add my facebook pixel tracking to the correct templates in EE4, I am using Multiple Event Registration plugin and ideally would like to track individual tickets and prices of tickets sold. Initially I would like to be able to inject the facbook pixel and event tracking code to the correct page/s. In this post… https://eventespresso.com/topic/include-google-analytics-ecommerce-tracking/ You mention the php templates…. thank-you-page-registration-details.template.php 1. Can i just add something like below to the checkout page? Can you please point me in the right direction as to what is the best solution.
If necessary i can open a premium support request to get further details? Thanks! |
|
Hi Ben, I can advise getting in touch with a developer to add the needed code. One reason is because the code you posted here has hardcoded values, but your implementation is likely going to need to have dynamic values. So you can’t just add the tracking code to a page. There will need to be some custom development to extract those dynamic values, and that development is beyond what we can provide as part of a priority support token. I can point you in the direction of codeable.io as they have expertise in PHP & WordPress development and somethere there can give you a quote for the work this would require. |
|
This reply has been marked as private. | |
The code you posted above does not include code to output a facebook tracking pixel, so yes, it does look like you’re going in the wrong direction. In addition, the |
|
This reply has been marked as private. | |
Hi, I can advise teaming up with a developer for this project because code reviews are outside the scope of support. |
|
Ok thanks for your help, i appriecite it. |
|
The support post ‘Add Facebook pixel code to cart and/or 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.