WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Analytics360] Please, add Yoast hack!!!

[Plugin: Analytics360] Please, add Yoast hack!!!

  • 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/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Analytics360] Please, add Yoast hack!!!’ is closed to new replies.
Skip to toolbar