Support

Home Forums Event Espresso Premium Google ads conversion tracking

Google ads conversion tracking

Posted: June 29, 2019 at 1:25 am


neigd72

June 29, 2019 at 1:25 am

Hi,

Is there any way to add conversion tracking for Google ads? I’m happy to do some custom coding if somebody can point me in the right direction. Maybe there’s an event hook or something I can use?

Thanks!

Neil


Tony

  • Support Staff

July 1, 2019 at 3:23 am

Hi Neil,

There’s a bunch of hooks within EE so which one hook you use depends on where you want the tracking code.

So, may I ask where you want to add tracking?


neigd72

July 1, 2019 at 3:29 am

I’d like to run some javascript once a purchase is finalised on the web site. Thanks!


Tony

  • Support Staff

July 2, 2019 at 3:46 am

Ok, so once a registration has been finalised the user is directed to the thank you page, meaning that’s the page you’ll need to add some JS.

A basic example of adding JS to the thank you page can be found here:

https://gist.github.com/lorenzocaum/307016676842e4f5c456

Theres an example another user created showing how to pull various piece of information from the transaction here:

https://gist.github.com/amistry007/a4cdc3af229aa77c3e960f0c083829e1#file-add_fb_events_to_event_espresso-php-L133


neigd72

July 11, 2019 at 1:39 am

Thanks – all good!

The support post ‘Google ads conversion tracking’ 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