• Resolved jimihenrik

    (@jimihenrik)


    Hey.

    I’m excited, the plugin works awesomely. Almost.

    The problem I’m having right now is that the plugin outputs dimension ga:pageTitle’s list instead of the ga:pagePath that it’s supposed to.

    Let me illustrate:
    These are the ones I need [image]
    But these are the ones the plugin is spitting out [image]

    The problem arises because we have these titles that have multiple sub pages and analytics of course sums them up under one title. But on the pagePaths they don’t get to the top of the list because they are like link/1 and link/2, you know, different urls.

    On shorter timescale the paths and titles usually match, but on a monthly basis the multiple part posts take over. Any idea how to fix this?

    Please tell if I can provide any more info.

    I tried to check the dimensions with Query Explorer but it gives the same results. If I use ga:pagePath the list is correct and if I use ga:pageTitle it gives the same list as the plugin.

    I baffled, because I can see you have
    $dimensions = array( 'ga:pagePath' );
    in your code and I think it should be working as intended.

    Any and all help appreciated. And sorry for the medicore English!

    https://www.ads-software.com/plugins/toplytics/

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter jimihenrik

    (@jimihenrik)

    One strange thing though. I installed this version on a bigger and smaller site, and the smaller seems to work fine. The bigger one has the issues I mentioned on the email (and you can see on the debug page).

    The smaller was the one I referred on this page earlier and now it’s working. No idea why. Did something change?

    If I can provide more information, please tell.

    Plugin Author Presslabs

    (@presslabs)

    The code is not changing very much, here you can see the code changes: https://github.com/PressLabs/toplytics/compare/2.0...2.1

    I will analyse what you send me and I will also try to test the plugin on a bigger site.

    Thanks for the feedback.

    Thread Starter jimihenrik

    (@jimihenrik)

    Did you ever find anything about it?

    Seems indeed still that the initial results are correct but something goes wonky afterwards.

    https://i.imgur.com/BVMR918.png

    The wrong extra results are not always on the top, sometimes there are extra results between the “correct” top results as well.

    Plugin Author Presslabs

    (@presslabs)

    Yes, we did find some bugs in the code, and we refactored the code to solve these issues. Thank you for your interest.

    Thread Starter jimihenrik

    (@jimihenrik)

    Thanks for getting back. Just deleted the plugin and installed the new version. Seems nothing has changed.

    On the debug page “GA result[today]:” differ totally from “Toplytics result: get_transient(toplytics.cache[today])” or “Widget results([today]):”

    Wonder why is this.

    You can see the results [here]. (That’s a pdf from the debug page.)

    Thread Starter jimihenrik

    (@jimihenrik)

    In fact the earlier version worked much better. Just “downgraded” from another install I had and now the daily results work fine.

    Other than daily results still broken as usual.

    Thread Starter jimihenrik

    (@jimihenrik)

    Hey.

    Just wanted to inform that this issue is resolved. It dawned on me that it’s not just the plugin at all, it’s the way we collect those gallery pages data to the analytics. Resolved the issue by just adding a filter to the retrieving function that uses regexp to filter out the pages we don’t want to see there.

    Also, the v3 is looking great! Worked like a charm on my dev/demo server and the code is so much cleaner. Good work on that.

    Altough when I tried to use that on a site with a tonne of data, the widget slowed the site to unusable state. But I recon it’s still on development anyway.

    Thanks for all the help and sorry to be a pain because my own inaptitude.

    edit: There’s a feature suggestion to you by the way. Let people use [filters] on the settings page for the data fetching!

    I used &filters=ga:pagePath!~\/([0-9]+)\/$ (basically regex filter out all urls that end in /[any number]/ and added it straight to the get_api_url function, but it would be nice to have a field to put the filter in so I wouldn’t have to edit the plugin ??

    Plugin Author Presslabs

    (@presslabs)

    We appreciate your attention regarding Toplytics as your feedback in crucial to its improvement. We will release soon the v3.0 and we are looking forward to adding this filter on v3.1 (https://github.com/PressLabs/toplytics/issues/73).

    Thread Starter jimihenrik

    (@jimihenrik)

    Awesome, can’t wait to upgrade.

    Well, it’s quite mandatory in couple of months anyway as OpenID 2.0 is going to deprecate.

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Problem with the dimension’ is closed to new replies.