Title: Adwords Conversion Tracking
Last modified: August 31, 2016

---

# Adwords Conversion Tracking

 *  Resolved [Dr.Justin](https://wordpress.org/support/users/drjustin/)
 * (@drjustin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/adwords-conversion-tracking-2/)
 * Hello,
 * I need a hand adding adwords conversion tracking to a website. Is there a way
   that I can send users to a “thank you” page after they register for an event?
   I can easily put the conversion code on a “thank you” page.
 * [https://wordpress.org/plugins/events-manager/](https://wordpress.org/plugins/events-manager/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/adwords-conversion-tracking-2/#post-6905235)
 * Hi,
 * Try adding this to the functions.php file of your theme, changing _[http://your-domain.com](http://your-domain.com)_
   to the page you want as the thank you page.
 *     ```
       function my_em_booking_redirect(){
       	?>
       	jQuery(document).bind('em_booking_success', function() {
       		window.location.href = 'http://your-domain.com';
       	});
       	<?php
       }
       add_action('em_gateway_js', 'my_em_booking_redirect');
       ```
   
 *  Thread Starter [Dr.Justin](https://wordpress.org/support/users/drjustin/)
 * (@drjustin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/adwords-conversion-tracking-2/#post-6905250)
 * Oops, I did not do my due dilagence before trying this and got a syntax error.
   I deleted the code I pasted but the error persists. Anyway you can help? Below
   is were the problem would be…
 * /**
    * Sets the post excerpt length to 40 characters. * Next few lines are adopted
   from Coraline */ function responsive_excerpt_length($length) { return 40; } add_filter(‘
   excerpt_length’, ‘responsive_excerpt_length’);
 * /**
    * Returns a “Read more” link for excerpts */ function responsive_read_more(){
   return ‘ [‘ . __(‘<div class=”read-more”>Read more ›</div><!– end of .read-more –>’, ‘responsive’) . ‘](https://wordpress.org/support/topic/adwords-conversion-tracking-2/&apos; . get_permalink() . &apos;?output_format=md)‘;}
 * /**
    * Replaces “[…]” (appended to automatically generated excerpts) with an 
   ellipsis and responsive_read_more_link(). */ function responsive_auto_excerpt_more(
   $more) { return ‘<span class=”ellipsis”>…</span>’ . responsive_read_more(); }
 *  Thread Starter [Dr.Justin](https://wordpress.org/support/users/drjustin/)
 * (@drjustin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/adwords-conversion-tracking-2/#post-6905267)
 * Whelp, it was about time I learned how to use FileZilla haha
 * I fixed my problem. I will update after I figure out the correct way to add that
   to my website without crashing it again.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adwords Conversion Tracking’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [adwords](https://wordpress.org/support/topic-tag/adwords/)
 * [event-manager](https://wordpress.org/support/topic-tag/event-manager/)

 * 3 replies
 * 2 participants
 * Last reply from: [Dr.Justin](https://wordpress.org/support/users/drjustin/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/adwords-conversion-tracking-2/#post-6905267)
 * Status: resolved