Hi everyone, I have a wordpress site e.g. www.xyz.in and have created separate directories. for e.g www.xyz.in/dog/ www.xyz.in/cat/ www.xyz.in/cow/ Now i want track separate directory traffic in analytic. i have already created GA account. Please help me.. i m waiting for your answer. Thanks
Here's a little something that might help you, https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite It talks about tracking subdomains and subdirectories. Hope it helps.
I tried this.. but it's not working. please let me know.. if i a site have 5 sub-directories than # should i create a account for every sub-directories in analytics. # or should i create property for every sub-directories
Hello Yes you can do that use the wordpress google analytics plugin please check this https://wordpress.org/plugins/google-analytics-for-wordpress/ https://wordpress.org/plugins/google-analytics-dashboard-for-wp/ you just change your url in javascript code. I already do this in my website. Message me if you have any queries about this plugin.
Hi @Nidhi Yadav ! I would setup different properties for different sub directories if you want to track them differently. Another alternative is that you can setup custom reports in GA to see stats from only that directory on the website in same GA property. Or you can create a segment with specific directory filters. Hope this will help. Regards, Rattan
@Nidhi Yadav you can create the common file on server and include it in wordpress. or you can use the plugin...... please check the same https://wordpress.org/plugins/google-analytics-for-wordpress/ Thanks Mayur
You do not need separate accounts for each directory, it is easier for you to search through Google forums to get better results though