1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need Google Anaytics integration help for wordpress site.

Discussion in 'Google Analytics' started by Nidhi Yadav, Jul 3, 2015.

  1. #1
    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
     
    Nidhi Yadav, Jul 3, 2015 IP
  2. Patricia Ann Lee

    Patricia Ann Lee Active Member

    Messages:
    1,190
    Likes Received:
    73
    Best Answers:
    1
    Trophy Points:
    95
    #2
    Patricia Ann Lee, Jul 3, 2015 IP
  3. Nidhi Yadav

    Nidhi Yadav Greenhorn

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    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
     
    Nidhi Yadav, Jul 6, 2015 IP
  4. Rahul Vaishnav

    Rahul Vaishnav Active Member

    Messages:
    123
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    63
    #4
    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.
     
    Rahul Vaishnav, Jul 7, 2015 IP
  5. digiaads

    digiaads Well-Known Member

    Messages:
    145
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    130
    #5
    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
     
    digiaads, Jul 9, 2015 IP
  6. MayurKawale

    MayurKawale Well-Known Member

    Messages:
    221
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    170
    #6
    @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
     
    MayurKawale, Jul 28, 2015 IP
  7. ankitanubello

    ankitanubello Greenhorn

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #7
    https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite check to know more
     
    ankitanubello, Aug 6, 2015 IP
  8. Mehdi.b

    Mehdi.b Active Member

    Messages:
    353
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    65
    #8
    You do not need separate accounts for each directory, it is easier for you to search through Google forums to get better results though
     
    Mehdi.b, Aug 10, 2015 IP