开发者

Google Analytics + Wordpress /dir/ and /dir/index.php appearing as separate items

开发者 https://www.devze.com 2023-03-19 04:06 出处:网络
The Google Analytics information for one of my Wordpress sites is sh开发者_JAVA技巧owing /dir/ and /dir/index.php as separate items - is there a way to prevent this from happening?Yes, in the profile

The Google Analytics information for one of my Wordpress sites is sh开发者_JAVA技巧owing /dir/ and /dir/index.php as separate items - is there a way to prevent this from happening?


Yes, in the profile settings set the default page to index.php. Google Analytics Index Page Tracked Separately

Even though www.example.com/ may be the same page as www.example.com/index.html, they show up as two separate entries in your reports. You can configure Google Analytics to treat them as the same page by defining the Default page for your profile:

  • Click the Analytics Settings link.
  • In the Website Profiles list, find the profile to modify and click Edit.
  • Click Edit next to Main Website Profile Information.
  • In the Default page text box, enter the default (or index) page for this domain. This is the page that loads when a visitor enters only the domain of your site into their address bar. For example, if www.example.com loads your index.html web page, enter index.html in this text box.
  • Click Save Changes to update your default page, or Cancel to exit without saving.
0

精彩评论

暂无评论...
验证码 换一张
取 消