• 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

How to put tracking script in on single page

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 › General Discussion › How to put tracking script in on single page

This topic is: not resolved

Tagged: Scripts on a single page

  • This topic has 7 replies, 3 voices, and was last updated 10 years, 10 months ago by Christoph.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 13, 2015 at 5:13 pm #162321
    Leonidt1985
    Member

    I have a conversion tracking script from adwords that I need to put on a single page (check out page). But it has to be in the <body> section. How can I do this on a page in wordpress?

    August 13, 2015 at 9:58 pm #162332
    Christoph
    Member

    Hi,

    you have a script box (usually near the bottom) in the post editor.
    http://screencast.com/t/9nOeAJUIaR
    If you don't see it, click on Screen Options on the top right and under "Show on Screen" select Scripts.
    http://screencast.com/t/vw6nXA9X6Z


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    August 14, 2015 at 8:18 am #162365
    Leonidt1985
    Member

    Yes I thought that was the solution. But its not inside the <body>. It has to be inserted just before the </body> tag.

    Here is the page where I inserted the script in the "scripts" area:
    http://www.passion4dancing.com/you-are-now-registered-please-confirm-your-email-address/

    How do I put it inside the body area?

    August 17, 2015 at 9:33 am #162626
    Christoph
    Member

    You can adjust Brad's code snippet

    (taken from wpsites.net/web-design/best-ways-to-load-scripts-in-wordpress/)

    with your page and script

    and change the line wp_enqueue_script( 'your-script' );
    to
    wp_enqueue_script( 'your-script', true );

    (reference codex.wordpress.org/Function_Reference/wp_enqueue_script)


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    August 26, 2015 at 10:59 am #163584
    designercreativo
    Member

    I do not see the option that you suggested, may have to update your theme?
    Version: 1.8.2 · Released: June 20, 2012
    I'd rather not upgrade it because I made some changes.
    You have a solution?

    August 27, 2015 at 4:29 am #163708
    designercreativo
    Member

    I wait for an answer

    August 27, 2015 at 8:08 am #163724
    designercreativo
    Member

    I do not see the option that you suggested, may have to update your theme?
    Version: 1.8.2 · Released: June 20, 2012
    I’d rather not upgrade it because I made some changes.
    You have a solution?

    August 27, 2015 at 8:45 am #163731
    Christoph
    Member

    @designercreativo

    Please open a new topic and include more details or context of what exactly your question is.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘General Discussion’ 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