admin管理员组文章数量:1026620
I have a website and separate Wordpress site as well. The wordpress site is setup at mydomain/blog/.
Currently I have google analytics tracking the main website but data is missing for the WP website. Do I need a separate tracking code? Can I use the same tracking code as my main website. Will there be any interference if I put the same tracking code into Yoast on my Wordpress as the main website?
I have a website and separate Wordpress site as well. The wordpress site is setup at mydomain/blog/.
Currently I have google analytics tracking the main website but data is missing for the WP website. Do I need a separate tracking code? Can I use the same tracking code as my main website. Will there be any interference if I put the same tracking code into Yoast on my Wordpress as the main website?
Share Improve this question asked Mar 28, 2019 at 17:51 markhorrocksmarkhorrocks 1033 bronze badges1 Answer
Reset to default 1You have two options.
Option 1: use the same tracking code for your main website and your WordPress site. This is probably the easiest solution, and it will give you access to the same goals, user data, etc. all in one convenient location.
Option 2: use a different tracking code, so you can more easily track the two separate websites. The biggest downside is that if you want to be able to see users' journeys across both sites, there's a lot more setup involved; when you use two separate tracking codes, by default someone going from one site to the next will appear to be "leaving your website," which depending on how your site is set up, may or may not be how the user experience feels.
So, if they are truly very independent sites where visitors don't overlap much, you can use separate code, but otherwise you probably will want to just use the same code. (You have to install the tracking code on every platform you're tracking - it's not automatically flowing from WordPress because you haven't told WordPress to include that tracking code.)
I have a website and separate Wordpress site as well. The wordpress site is setup at mydomain/blog/.
Currently I have google analytics tracking the main website but data is missing for the WP website. Do I need a separate tracking code? Can I use the same tracking code as my main website. Will there be any interference if I put the same tracking code into Yoast on my Wordpress as the main website?
I have a website and separate Wordpress site as well. The wordpress site is setup at mydomain/blog/.
Currently I have google analytics tracking the main website but data is missing for the WP website. Do I need a separate tracking code? Can I use the same tracking code as my main website. Will there be any interference if I put the same tracking code into Yoast on my Wordpress as the main website?
Share Improve this question asked Mar 28, 2019 at 17:51 markhorrocksmarkhorrocks 1033 bronze badges1 Answer
Reset to default 1You have two options.
Option 1: use the same tracking code for your main website and your WordPress site. This is probably the easiest solution, and it will give you access to the same goals, user data, etc. all in one convenient location.
Option 2: use a different tracking code, so you can more easily track the two separate websites. The biggest downside is that if you want to be able to see users' journeys across both sites, there's a lot more setup involved; when you use two separate tracking codes, by default someone going from one site to the next will appear to be "leaving your website," which depending on how your site is set up, may or may not be how the user experience feels.
So, if they are truly very independent sites where visitors don't overlap much, you can use separate code, but otherwise you probably will want to just use the same code. (You have to install the tracking code on every platform you're tracking - it's not automatically flowing from WordPress because you haven't told WordPress to include that tracking code.)
本文标签: pluginsHow to track analytics with a Wordpress site under the same domain as my main site
版权声明:本文标题:plugins - How to track analytics with a Wordpress site under the same domain as my main site? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745648601a2161174.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论