Reporting & Analytics

jamesdean16
Member

Missing </body> Tag for Inserting Tracking Code

SOLVE

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
Phil_Vallender
Solution
Most Valuable Member | Diamond Partner
Most Valuable Member | Diamond Partner

Missing </body> Tag for Inserting Tracking Code

SOLVE

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 | HubSpot Website Agency

View solution in original post

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

Missing </body> Tag for Inserting Tracking Code

SOLVE

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 | HubSpot Website Agency
0 Upvotes