Support » Plugin: Connect Matomo (WP-Matomo, WP-Piwik) » Installation fails — no data

  • piwikprob

    (@piwikprob)


    hi there,

    trying to install Piwik and WP-Piwik. Continue to get the “no data” error. Have read the Piwik FAQ, but cannot see what’s wrong. Site is: https://www.latamstartups.biz/

    Some details:

    You are using Piwik 2.1.0 and WP-Piwik 0.9.9.8.
    Auto site configuration is enabled.
    Tracking code insertion is enabled.

    Ran the test debug script, won’t paste it here, but didn’t see anything out of the ordinary.

    Jetpack is also installed, so I know there are plenty of visitors to the site.

    Suggestions?

    thanks

    https://wordpress.org/plugins/wp-piwik/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author braekling

    (@braekling)

    If you don’t post your test script output, I’m not able to tell you if the results are valid.

    Please check if the tracking code is shown properly in your page’s source code. Is WP-Piwik showing no data or is Piwik itself showing no data? Does Piwik itself seem to work fine?

    Thread Starter piwikprob

    (@piwikprob)

    In page source, I find the WP-Piwik javascript code. I’m not seeing a tracking code, but I don’t know what a proper tracking code would look like either.

    Piwik continues to report zero traffic. I have read all the piwik FAQs, tried everything on their docco, no results. So problem is Piwik side, but again that doesn’t help me much.

    Here’s the debug test script:

    *** Test 1/2: SitesManager.getSitesWithAtLeastViewAccess ***
    Using: cURL
    SSL peer verification: enabled
    User Agent:
    Call: https://www.latamstartups.biz/piwik/?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=XML&token_auth= + TOKEN
    Result:
    HTTP/1.1 200 OK
    Server: Apache/2.4.6
    X-Powered-By: PHP/5.4.4-14+deb7u7.5
    Content-Type: text/xml; charset=utf-8
    Vary: Accept-Encoding
    Transfer-Encoding: chunked
    Date: Mon, 31 Mar 2014 15:02:48 GMT
    Connection: keep-alive
    Via: 1.1 varnish
    Age: 0

    <?xml version=”1.0″ encoding=”utf-8″ ?>
    <result>
    <row>
    <idsite>1</idsite>
    <name>LatAm Startups</name>
    <main_url>http://www.latamstartups.biz</main_url&gt;
    <ts_created>2014-03-24 14:00:46</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>America/Toronto</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    </result>
    Time: 0.08s

    *** Test 2/2: SitesManager.getSitesIdFromSiteUrl ***
    Using: cURL
    SSL peer verification: enabled
    User Agent:
    Call: https://www.latamstartups.biz/piwik/?module=API&method=SitesManager.getSitesIdFromSiteUrl&url=http%3A%2F%2Fwww.latamstartups.biz&format=XML&token_auth= + TOKEN
    Result:
    HTTP/1.1 200 OK
    Server: Apache/2.4.6
    X-Powered-By: PHP/5.4.4-14+deb7u7.5
    Content-Type: text/xml; charset=utf-8
    Vary: Accept-Encoding
    Transfer-Encoding: chunked
    Date: Mon, 31 Mar 2014 15:02:48 GMT
    Connection: keep-alive
    Via: 1.1 varnish
    Age: 0

    <?xml version=”1.0″ encoding=”utf-8″ ?>
    <result>
    <row>
    <idsite>1</idsite>
    </row>
    </result>
    Time: 0.07s

    Thanks.

    Thread Starter piwikprob

    (@piwikprob)

    I ran a diff on the suggested Piwik javascript and the WP-Piwik javascript, and found this additional line in WP-Piwik:

    _paq.push([‘setRequestMethod’, ‘POST’]);

    Found this corresponding bug:

    http://dev.piwik.org/trac/ticket/4095

    is this some kind of mod_security issue? But I am getting zero stats, not just some stats.

    thanks

    Plugin Author braekling

    (@braekling)

    Are you hosting on HostGator? Then it seems to be the mod_security issue. See
    http://wordpress.org/plugins/wp-piwik/faq/
    regarding this. (Anyway try to enable avoid mod_security.)

    To get extended support on Piwik itself, please have a look at Piwik’s community at http://piwik.org – this support forum is just about the WordPress plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Installation fails — no data’ is closed to new replies.