• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Tracking code for Google Adwords does not work with Studio Press

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Tracking code for Google Adwords does not work with Studio Press

This topic is: not resolved

Tagged: google adwords event manager pro

  • This topic has 7 replies, 2 voices, and was last updated 11 years, 11 months ago by Splint.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • June 11, 2014 at 3:00 am #109333
    Splint
    Member

    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 #109419
    nutsandbolts
    Member

    Did 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 #109552
    Splint
    Member

    Hello 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.html

    Can you see a mistake?
    I am writing my real website private

    You 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 #109555
    Splint
    Member
    This reply has been marked as private.
    June 13, 2014 at 9:29 am #109583
    nutsandbolts
    Member

    I 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 #109587
    Splint
    Member

    Hey,

    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 #109588
    nutsandbolts
    Member

    Most 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 #109596
    Splint
    Member

    Ok - 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?

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble