Support

Home Forums Event Espresso Premium Event specific tracking code

Event specific tracking code

Posted: August 12, 2015 at 3:58 am

Viewing 1 reply thread


Marcus

August 12, 2015 at 3:58 am

I am trying to add Facebook tracking code for specific events to the thank you page using is_page() in the theme footer.
This is fine but of course this fires the code for all sales rather than the specific event.

How would I check for a specific event ID on the thank you page in the footer?

Thanks


Dean

August 12, 2015 at 5:47 am

Hi,

I can only see a roundabout route:

Get the e_reg_url_link value from the $_REQUEST array.
Do an SQL search in the *_esp_registration table (* = prefix) to get the registration and then use the EVT_ID value to check against the Event ID.

Hope that helps!

Viewing 1 reply thread

The support post ‘Event specific tracking code’ 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