Forums

[Plugin: Analytics360] Please, add Yoast hack!!! (4 posts)

  1. lsaboya
    Member
    Posted 2 months ago #

    Hello.

    Joost de Valk made a cool hack in Analytics 360. Make it a default option!!!

    http://yoast.com/analytics360/

    Now I couldn't help myself, I had to peak inside the plugin. By default it shows a "site traffic" view, with the following tabs: "all traffic", "email", "organic" and "referral". Now because I use my own Google Analytics plugin, I know my RSS traffic is tagged with RSS as the medium, and because I use Sociable in combination with awe.sm, that traffic is tagged too.

    Now I've found that it's very easy to add those two traffic sources to the dashboard.

    To do this, go into the plugin directory, into the subfolder called js, and open the file a360.js. On line 814 (in this version of the plugin at least), I changed this:


    if (['all traffic', 'cpc', 'email',
    'organic', 'referral'].indexOf(name) >= 0) {
    Into:

    if (['all traffic', 'cpc', 'email', 'rss', 'yoa.st-twitter',
    'organic', 'referral'].indexOf(name) >= 0) {

    And tadaa...

    http://wordpress.org/extend/plugins/analytics360/

  2. multitalentedmommy
    Member
    Posted 2 months ago #

    I think this is something that you need to send to the tips/ideas forum: http://wordpress.org/extend/ideas

    Thanks

  3. lsaboya
    Member
    Posted 2 months ago #

    Its a Hack, and an idea.

  4. devinreams
    Member
    Posted 2 months ago #

    Thanks, lsaboya. We've since passed this idea (allow customizing the tabs) along to the MailChimp team.

    While not bundled with the official release, you're more than welcome to make the modifications yourself to the plugin. :)

Reply

You must log in to post.

About this Topic