design & integration blog

twitter Twitter Feed

Subscribe by Email

Your email:

Current Articles | RSS Feed RSS Feed

How To Add HubSpot Tracking Code to Wordpress

 

How to install HubSpot tracking code on Wordpress

  1. Login to your website: http://yoursite.com/wp-admin
  2. Click on the "Appearance" tab in the left hand side menu
  3. Select "Editor"
  4. On the right side of the page there will be a long list of core Wordpress files
  5. Look for Footer.php

Wordpress HTML

Wordpress HTML

If you followed the steps above you should now be looking at your website’s HTML
  1. Scroll to the bottom of Footer.php and look for the close </body> tag
  2. Paste the HubSpot tracking code right above it
  3. Hit "Update File" and you are done

Wordpress HTML

Comments

Boom! Great instruction lesson, I needed to know the answer as I started my free trial with Hubspot, glad this help is out there, keep it up! http://www.TampaInvestmentDeals.com will now track you when you visit...haha! Be Blessed - Ryan 
 
Posted @ Sunday, March 20, 2011 12:03 AM by Ryan
Ryan, thanks for the nice comment. Since writing this blog post HubSpot has come out with a pretty cool analytics plugin for WordPress: http://wordpress.org/extend/plugins/hubspot/ 
 
Either method of installation works fine, albeit you get a little more functionality with the plugin version.
Posted @ Monday, March 28, 2011 11:27 AM by Ken Pearce
Thanks for the step-by-step Hubspot/Wordpress instructions. Very clear and concise...and helpful!
Posted @ Wednesday, January 11, 2012 4:58 PM by Ritch Brandon
Post Comment
Name
 *
Email
 *
Website (optional)
Comment
 *

Allowed tags: <a> link, <b> bold, <i> italics