How do I embed Google Conversion Tracking Code on My Wordpress Landing Page?

14 replies
  • WEB DESIGN
  • |
How do I embed my Google Conversion Tracking Code on Wordpress Landing Page?

I tried pasting it into the html field but it didn't work. It says it needs to be go between the body tags. I'm using a PLF-style formula theme so installing a different theme that has a space to insert tracking codes is not an option.

How else can I go about it?

Thanks in advance!
#code #conversion #embed #google #landing #page #tracking #wordpress
  • Profile picture of the author Ryah Albatros
    I don't know what a PLF style template is, but all you need to do is edit your theme by going to Appearance>Themes.

    Make sure you're editing the right theme by checking what it says in the drop down box on the top right.

    Find the footer.php file and open it. Scroll to the bottom, and you should see the </body> tag. Simply paste your Google code there and save.
    {{ DiscussionBoard.errors[2791646].message }}
  • Profile picture of the author KevinK3
    for some reason, there wasnt any <body> tag in the footer.

    i pasted it either way and will see if it reports. only thing is, this is a google conversion tracking code that tracks the conversions from certain ads in my adwords account so i wouldnt want it embedded into every footer within my wordpress theme (which is what I think it's currently doing).

    how would i embed a code into a single post for the purpose of conversion tracking thru google adwords (not just a google analytics code)
    {{ DiscussionBoard.errors[2793116].message }}
  • Profile picture of the author Ryah Albatros
    Switch to the HTML tab in the post editor and paste the code at the end of your other text.

    That might work.
    {{ DiscussionBoard.errors[2801092].message }}
  • Profile picture of the author swtsubmit
    Paste the code before the </body> in the footer.php.
    {{ DiscussionBoard.errors[2801318].message }}
  • Profile picture of the author KevinK3
    the google conversion code isn't working properly, its going ballistic and making every page hit a conversion even after i took it out of the footer php and put it in the individual post.

    can someone please help?
    {{ DiscussionBoard.errors[2816077].message }}
  • Profile picture of the author Jon Jay
    Here is how I did it Kevin.

    1) Go to Google Analytics (google.com/analytics) and sign in to your account or get a new one if you don't have one.
    2) Pull down your site (or make a new one) in the orange navigation bar "click to select Website Profile".
    3) Click "Analytics Settings" and then check the "status" column under your website profile. If there is not a green check mark displayed you need to grab the UA-xxxxxxxx-x code and enter it in your Wordpress site.
    4) In Wordpress dashboard, make sure you have the "google analytics" plugin installed and I also recommend the "google analytics dashboard" plugin.
    5) Click the "google analytics" plugin under Settings and then enter the code in Web Property ID.
    6) Google will start crawling right away but data won't show up for several hours, just be patient.
    7) You can check the google analytics website for that green check just to be sure.

    This may be overly simplistic for experienced users but I hope it can also help others.

    Jon Jay
    {{ DiscussionBoard.errors[2816409].message }}
  • Profile picture of the author KevinK3
    thanks jon, thats for the basic google analytics though, which is working perfectly fine on my site. i was wondering about the google conversion tracking code thats provided as a feature when you advertise on google adwords.
    {{ DiscussionBoard.errors[2818151].message }}
  • Profile picture of the author sarafina
    1. Create a new page template (google how to)
    2. Save your thank you page in wp with the newly created template
    3. Take the code from adwords, put it on this page. That's it.

    User buys or opts in, hits your thank you page and that triggers a conversion for adwords.

    Putting the code in the footer will not work. It has to be ONLY on the thank you page or the page that a person sees AFTER they converted.
    {{ DiscussionBoard.errors[2818323].message }}
  • Profile picture of the author Nathan Alexander
    Just in case…

    I found this thread in my own searches, and the answer I found could be the "Creative Clans Embed Script" plugin here:

    WordPress › Creative Clans Embed Script « WordPress Plugins
    {{ DiscussionBoard.errors[3010394].message }}
  • Profile picture of the author shifat
    OK guys i have a similar problem but slightly different one;how do i setup tracking code on a specific word press page.
    {{ DiscussionBoard.errors[6999936].message }}
    • Profile picture of the author Istvan Horvath
      Originally Posted by shifat View Post

      OK guys i have a similar problem but slightly different one;how do i setup tracking code on a specific word press page.
      1. I hope you have tried ALL the solutions mentioned in the thread BEFORE asking your question. Right?

      2. Using a specific WP Page template...
      Signature

      {{ DiscussionBoard.errors[7000430].message }}
      • Profile picture of the author shifat
        Originally Posted by Istvan Horvath View Post

        1. I hope you have tried ALL the solutions mentioned in the thread BEFORE asking your question. Right?

        2. Using a specific WP Page template...
        Yes i did but still not working!
        {{ DiscussionBoard.errors[7010972].message }}
        • Profile picture of the author Gleborg
          Here`s a real simple solution. Install the Google Website optimizer plugin. After that the special box appears on every page (in editing mode) where you can paste the code
          {{ DiscussionBoard.errors[7198782].message }}

Trending Topics