1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can I track all posts under 1 author?

Discussion in 'Blogging' started by Reyone, Feb 6, 2014.

  1. Reyone

    Reyone Elite Member

    Joined:
    Sep 30, 2012
    Messages:
    1,577
    Likes Received:
    1,277
    Occupation:
    Hunter
    Right,

    Would like to know if its possible to track (on analytics or any other platform) the number of views etc that an author (and all their posts) have gotten throughout the month.

    I know I can do this manually in analytics checking url by url, but that would take me for fucking ever.

    Thanks in advance
     
  2. Reyone

    Reyone Elite Member

    Joined:
    Sep 30, 2012
    Messages:
    1,577
    Likes Received:
    1,277
    Occupation:
    Hunter
    Just researched a bit more; its about adding certain variables to your analytic code.
    If anyone knows how to do this, please send me a pm with your price.

    Thanks!
     
  3. Schvamp

    Schvamp Power Member

    Joined:
    Feb 13, 2012
    Messages:
    684
    Likes Received:
    549
    Location:
    Hogwarts
    https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets

    So pasting this code within the loop of single.php would probably solve this. (If you're using wordpress)
    Code:
    <script type="text/javascript">
    ga('send', 'pageview', {
      'dimension5': '<?php the_author(); ?>'
    });
    </script>
     
  4. Reyone

    Reyone Elite Member

    Joined:
    Sep 30, 2012
    Messages:
    1,577
    Likes Received:
    1,277
    Occupation:
    Hunter
    mmmmmmmmmmm
    tried that and didnt work

    Got a guy @ fiver but he failed to get it done haha

    Anyways, if there is anyone out there capable of doing this, ill be happy to pay a small fee
     
  5. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Premium Member

    Joined:
    Nov 10, 2012
    Messages:
    10,119
    Likes Received:
    28,559
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:
  6. Reyone

    Reyone Elite Member

    Joined:
    Sep 30, 2012
    Messages:
    1,577
    Likes Received:
    1,277
    Occupation:
    Hunter
    Last edited: Feb 6, 2014