Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Google AdWords Conversion Tracking Thank You Page | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Google AdWords Conversion Tracking Thank You Page

Google AdWords Conversion Tracking Thank You Page

Posted: November 6, 2013 at 2:28 am

Viewing 1 reply thread


Ion Paciu

November 6, 2013 at 2:28 am

Hello,

I’ve searched the forum and I could’t find a definite answer regarding this issue. How would you recommend implementing the Google Adwords Conversion Tracking code ?
We have 2 payment methods – online – with Paypal and CC and offline with bank transfer
How would you suggest implementing the tracking code ?

Keep in mind that we have to specify a variable in the tracking code that holds the value for google_conversion_value.

Awaiting your reply.
Cheers,


Josh

November 6, 2013 at 10:34 am

Hi Ion,

One way that tracking code can be added to the Thank you page is by adding some code to the bottom of the payment_overview.php template. You can copy this template over to /wp-content/uploads/espresso/templates to preserve your changes the next time you update Event Espresso.

Here is some example code that shows how to run the tracking code only if the payment is complete. If it needs to run every time the Thank You page the thank you page loads you can remove the switch case:

switch ( $payment_status ) {
		case 'Completed':
			// tracking code goes here
			
			break;
		
		default:
			echo "<!-- not complete -->";
			break;
	}
Viewing 1 reply thread

The support post ‘Google AdWords Conversion Tracking 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 - Staging Server