Missing </body> Tag for Inserting Tracking Code

SOLVE
jamesdean16
Member

I got an email from HubSpot saying I was just "one step" away from something.  I'm not sure what, as I haven't been working on the CRO course for a couple of weeks now.  Nevertheless, it seemed an important part of marketing, so I copied the tracking code and looked through my WordPress homepage for the </body> tag the instructions said I needed to put the code just before.  Except..no such tag seems to exist in the text tab of my home page.  Any ideas what to do now?

Windows 7

Firefox (updated version)

Thanks!

0 Upvotes
1 Accepted solution

Accepted Solutions
Phil_Vallender
Solution
Most Valuable Member | Diamond Partner

Hi @jamesdean16

 

The body tags are normally in the header.php file rather than in the page itself.

 

You may find it easier to use a script insertion plugin to add the tracking code, rather than editing your php files. 

 

Hope this helps.

Phil Vallender | Inbound marketing for B2B technology companies

View solution in original post

0 Upvotes
1 Reply 1
Phil_Vallender
Solution
Most Valuable Member | Diamond Partner

Hi @jamesdean16

 

The body tags are normally in the header.php file rather than in the page itself.

 

You may find it easier to use a script insertion plugin to add the tracking code, rather than editing your php files. 

 

Hope this helps.

Phil Vallender | Inbound marketing for B2B technology companies

View solution in original post

0 Upvotes