Reporting & Analytics

jamesdean16
Mitglied

Missing </body> Tag for Inserting Tracking Code

lösung

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 Akzeptierte Lösung
Phil_Vallender
Lösung
Koryphäe | Diamond Partner
Koryphäe | Diamond Partner

Missing </body> Tag for Inserting Tracking Code

lösung

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

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
1 Antwort
Phil_Vallender
Lösung
Koryphäe | Diamond Partner
Koryphäe | Diamond Partner

Missing </body> Tag for Inserting Tracking Code

lösung

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