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!

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  neigd72 1 week ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!