0

in wordpress site i created one one folder & put some html files(www.mywebsite.com/global/page.html).

But google analytics is not tracking those html pages(www.mywebsite.com/global/page.html).

Is there any solution to track those pages likewise the wordpress pages.

Your feedback will be highly appreciated.

THANKS.

1
  • 1
    Does the page have your GA code in it? If not, the page won't be tracked. – Greg McMullen Apr 4 '17 at 13:40
1

If the HTML files are outside of your wordpress installation, you need to insert the Google Analytics tracking code into each of the HTML pages manually. For the Wordpress pages, you can insert the code into your Theme's header file (usually header.php) or similar or use one of the many plugins to do this.

2
  • its mean i have to create google analytics property for www.mywebsite.com/global directory & put the code in each page – PRIYA Apr 4 '17 at 12:07
  • You can use the same tracking code as Google Analytics will tell you what pages were viewed so you don't need to have a different property. – TomC Apr 4 '17 at 12:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.