Become a HubSpot power user — join us for HubSpot Training Day 2017.


How can I install the HubSpot Tracking Code for WordPress?

Last updated: September 13, 2017

Available For:

Product: HubSpot Marketing
Subscription: Basic, Professional, & Enterprise

Follow the instructions below to install the HubSpot Tracking Code for WordPress and begin tracking activity on your WordPress pages within HubSpot. 

Install HubSpot Tracking Code for Wordpress

If you are currently using the depracated HubSpot for Wordpress plugin, check out this article to learn how to deactivate the old plugin before installing HubSpot Tracking Code for Wordpress

  • Log in to WordPress.
  • On the Wordpress sidebar, navigate to Plugins > Add New
  • Search for HubSpot Tracking Code for Wordpress.
  • Click Install Now.
  • Click Activate Plugin

Enter your HubID

You'll now need to enter your HubID to start tracking view data in HubSpot:

  • On the Wordpress sidebar, navigate to Settings > HubSpot Settings
  • Enter your HubID
  • Click Save Settings.
User-added image
User-added image

Was this article helpful?