Community Forums › Forums › Archived Forums › Design Tips and Tricks › Tracking code for Google Adwords does not work with Studio Press
Tagged: google adwords event manager pro
- This topic has 7 replies, 2 voices, and was last updated 10 years, 5 months ago by Splint.
-
AuthorPosts
-
June 11, 2014 at 3:00 am #109333SplintMember
Hello,
please excuse my bad english. I pay Google Adwords advertising. And tracking is not working.
I have a plugin "Event Manager Pro." The visitor logs in with the name and email for a first aid course. After clicking on the button login needs to open a new page. In the new page, the tracking code must. But it opens a new page after login.
The admin of Event Manger Pro says error is due to Studio Press.
Here are my support request to Event Manager:
Google conversion tracking where to insert?
Hello,After a successful login I want a forwarding to a specified page from me. On this page I want to insert the "Google conversion tracking code".
Or you have another solution?
Answer by Event Manager Plugin:
Hi,Try something like this in the functions.php file of your theme:
function em_post_login_page() { return 'http://www.yoursite.com/yourpage/'; } add_filter('login_redirect', 'em_post_login_page');
I think this is an issue you need to take up with Genesis support. Having tested the code snippet on the default WordPress theme, we know that the code below works.
function em_post_login_page() { return 'http://www.yoursite.com/yourpage/'; } add_filter('login_redirect', 'em_post_login_page');
That indicates the problem is with implementing it within a Genesis child theme. You should give them code snippet above and ask them where it should go when using a Genesis child theme.
Can you please help me.
June 11, 2014 at 9:48 pm #109419nutsandboltsMemberDid you try placing the code they gave you in your child theme's functions.php file? There's no reason it shouldn't work from what I can see.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+June 13, 2014 at 2:47 am #109552SplintMemberHello nutsandbolts,
I use the theme: executive per
FTP:
wp-content -> themes -> executive-per -> functions.php
As download the functions.php as a text file in this link:
http://www.file-upload.net/download-9054667/functions.txt.htmlCan you see a mistake?
I am writing my real website privateYou can test at a seminar Register. Please use them as name and first name "Test"
You'll see no forwarding takes place.
June 13, 2014 at 2:50 am #109555SplintMemberThis reply has been marked as private.June 13, 2014 at 9:29 am #109583nutsandboltsMemberI would suggest removing that function from functions.php and trying this plugin: https://wordpress.org/plugins/peters-login-redirect/
I have used it before with great success.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+June 13, 2014 at 9:41 am #109587SplintMemberHey,
thank you for your info. A solution does not exist. Too bad. Many plugins make the website slow ...
June 13, 2014 at 9:43 am #109588nutsandboltsMemberMost plugins don't make the website slow. The one I suggested does the same thing as the function you were trying to use and will not affect your load times.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+June 13, 2014 at 10:04 am #109596SplintMemberOk - thank you
How am I supposed to do with the redirect?
Each seminar has a different URL? I can not assign fixed URL.
Have a tip?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.