Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all 5829 articles
Browse latest View live

Piwik crash when dateinterval loads large amount of data

$
0
0

@E111 wrote:

Hi!
We have a large number of sites and a large amount of data. Very often Piwik crashes for us when we use a dateinterval for three months or six months. The year alternative works fine.
Is there some way you can optimise the data loading for dateintervals?

Perhaps you could pre-generate reports for the dates 3 months and 6 months. It is a standard to split the year into quarters 1-4. So a pre-generated report for Q1, Q2, Q3 and Q4 would solve the problem.
Hope you like my idea and that it can be done easily for you.

At least you should be aware there's a problem with dateintervals for large installations with Piwik.
Let me know if you have any questions.
Best regards,
E

Posts: 1

Participants: 1

Read full topic


Piwik not counting stats since upgrade from 2.15.0-b12 to 3.0.4

$
0
0

@piwikovhfr wrote:

Dear all,

I had a previous version of Piwik (2.15.0-b12) and upgraded using the Web interface to the latest version (3.0.4).

I got a list of SQL errors while upgrading (it might be that one, but I haven't saved the error messages, so I don't know)
I followed the instructions, which was to manually execute the SQL requests, and which I did with an eventual success.
Then I re-run the upgrade and eventually, it said "upgrade completed".

Since then, the interface is fine (it says 3.0.4), I receive daily digests as before… but strictly no stats are being counted :frowning:

If that can help, my Web hosting service is OVH.

Thank you for any help!

Posts: 2

Participants: 2

Read full topic

Visits & Unique Visitors stats lower then normal

$
0
0

@Dibs wrote:

Hi Piwik Team

The past week i have seen Piwik display stats for visits & unique visitors much lower then normal for my site. My site normally has approximately 10,000 visits and 6000 unique visitors (Mon - Fri) and half that Saturday and Sunday. The past week both Visits Over Time & Visits Overview are reporting under 1800 visits and 1000 unique visitors.

Has anybody ever had this experience with their Piwik instance and know why this is happening ?

Thanks
Dibs

Posts: 1

Participants: 1

Read full topic

Modifying Tracking Code

$
0
0

@jah6q wrote:

Hello,

I'm using Piwik 3.0.3 and am attempting to modify my tracking code to add download extensions, like such:

_paq.push(['addDownloadExtensions', "pkg|msi|spk|bin"]);

I've read that I need to use CustomTrackerJs plugin but that doesn't seem compatible with 3.0.3, or at least there's no obvious way for me to use it (checked Plugin Settings).

Alternatively, is it safe for me to manually edit my piwik.js file server-side?

If anyone can offer help I would be very grateful.

Thanks!
- Joseph

For reference, this is the set of instructions I've attempted to follow: https://piwik.org/faq/how-to/faq_19087/

Posts: 2

Participants: 2

Read full topic

Transitions View and Action Title Category Delimiter

$
0
0

@chrisg wrote:

When trying to open transition view from Page Titles Report, it cannot be opened because the default action_title_category_delimiter (/) is used in the call even if it’s overnwritten in config (in our case with :: )

URL as generated by Piwik 3.02
https://piwik.mydomain.com/index.php?date=2017-05-23&actionType=title&actionName=Shop%2FCheckout&expanded=1&format=JSON&module=API&method=Transitions.getTransitionsForAction&filter_limit=-1&idSite=22&period=day

Working URL (constructed manually)
https://piwik.mydomain.com/index.php?date=2017-05-23&actionType=title&actionName=Shop::Checkout&expanded=1&format=JSON&module=API&method=Transitions.getTransitionsForAction&filter_limit=-1&idSite=22&period=day

Posts: 1

Participants: 1

Read full topic

Database session storage not working

$
0
0

@JMCA2 wrote:

I have enabled DB session storage using session_save_handler = dbtable to improve performance, as explained here.

However, the system check page still warns about NFS being used. I've tried to log-out and log-in again, but still the same.

What could be wrong? Thank you

Posts: 1

Participants: 1

Read full topic

Upgrade path to go from 2.12.1 to latest version including Windows to Linux migration?

$
0
0

@Yanick_Girouard wrote:

We're currently running Piwik 2.12.1 on apache 2.2, php 5.4.41 and MySQL 5.1.50, on Windows 2008 R2.

We would like to migrate to a proper Red Hat Enterprise Linux 7 sever running apache 2.4, and the latest recommended PHP and MariaDB versions for Piwik.

In the administration interface, I see that the next available update for 2.12.1 is 2.17.1. I also see in the requirements for the latest version (3.x), that we'd need to have PHP 5.5.9, and it's recommended to go with PHP 7 and MySQL 5.7 (which I believe is the equivalent to MariaDB 10), both of which are not the default versions installed by Red Hat Enterprise Linux 7. Technically, the windows to Linux pat is not worrying me too much, it's rather the change of requirements when going from version to version that does.

I suspect I will have to upgrade in stages one milestone at a time, and somewhere along the lines, upgrade my PHP and MySQL version to match the minimum requirements. If that is so, would anyone have a clear plan I could follow?

Posts: 1

Participants: 1

Read full topic

Failed to write cache files on install

$
0
0

@peter.woofmedia wrote:

Hi,

I'm hosting on WPEngine, PHP7 environment.
When attempting installation I can't get past this error on the first screen when accessing the piwik directory.

Failed to write cache file "/nas/content/live//piwik/tmp/templates_c/e3/e38a4ca8ff5e946c89ff7625f5a9ad63d8c7afe45cc4b2f8b4fb797dd33a1a86.php".

We've checked it server-side, and permissions are ok.
Removed the temp file above and retried.
Tried changing permissions to 777.
Still the same error.

Posts: 1

Participants: 1

Read full topic


Piwik Form Analytics: Issue with capturing field timing for field having TinyMCE Editor

$
0
0

@sdhepe wrote:

If we use TinyMCE editor(https://www.tinymce.com/) for a form field, the field timing is not getting captured in the Form Analytics plugin.

Without a TinyMCE editor the field timing is captured correctly.

Is there any way to capture the field timing which has tinyMCE editor in the Form Analytics?

The same issue is occurred with the select2 plugin.

Posts: 1

Participants: 1

Read full topic

Non-clickable external icon links

$
0
0

@sam2k wrote:

I'm running a small German blog. I decided to use fontello to create lightweight customized icon fonts and Skeleton for the basic layout stuff. All (S)CSS files are merged together by sass.

Using piwik is giving me strange behaviors in Chrome.

Posts: 1

Participants: 1

Read full topic

Warning ISO-8859

$
0
0

@mati24 wrote:

Hello,

I have a Piwik on a Windows IIS server with PHP 5.6
It displays this warning
htmlentities(): charsetISO-8859' not supported, assuming utf-8
html_entity_decode(): charset
ISO-8859' not supported, assuming utf-8
on many pages

What do I have to do ?

Thanks

Posts: 1

Participants: 1

Read full topic

Installation failed with 3.0.4 - error message : Website time zone is not valid

$
0
0

@Henry_Comb wrote:

As reported on github, this is also happening on 3.0.4. I also appended this to an existing thread, but thought it best to open a new one (https://forum.piwik.org/t/installation-failed-with-3-0-1-error-message-website-time-zone-is-not-valid/22968/5).

Tried setting date.timezone in php.ini (even tried a few).

Same behavior with Chrome and Firefox.

The <select> tag is there in the HTML, but it's not being displayed for some reason. Might be related to the javascript error/s below.

Errors in chrome console (which prevents Next from succeeding, resulting in the same error as others have complained about):

index.php:331 Uncaught SyntaxError: Unexpected token return
menudropdown.directive.js:20 Uncaught ReferenceError: angular is not defined
    at menudropdown.directive.js:20
    at menudropdown.directive.js:76
languageselector.directive.js:14 Uncaught ReferenceError: angular is not defined
    at languageselector.directive.js:14
    at languageselector.directive.js:36

Here's the entire HTML from index.php (some clipped so I could post):

<!DOCTYPE html>
<html id="ng-app" ng-app="piwikApp">
<head>
    <meta charset="utf-8">
    <meta name="robots" content="noindex,nofollow">
    <title>Piwik 3.0.4 &rsaquo; Installation</title>

    <link rel="stylesheet" type="text/css" href="index.php?module=Installation&amp;action=getInstallationCss&amp;cb=ab82c878009c11737d9de5de9a43f1b1" />
    <script type="text/javascript" src="index.php?module=Installation&amp;action=getInstallationJs&amp;cb=a4c6a5725baaaddd52b68ca0aa68b277"></script>

    <link rel="shortcut icon" href="plugins/CoreHome/images/favicon.png"/>
</head>
<body ng-app="app" id="installation">

<div class="container">

    <div class="header">
        <div class="logo">
            <img title="Piwik 3.0.4 - free&#x2F;libre&#x20;analytics&#x20;platform" src="plugins/Morpheus/images/logo.png"/>
            <p>free/libre analytics platform</p>
        </div>
        <div class="language-selector">
            <script type='text/javascript'>if (!window.piwik) window.piwik={};</script><script type="text/javascript" src="plugins/CoreHome/angularjs/menudropdown/menudropdown.directive.js?cb=a4c6a5725baaaddd52b68ca0aa68b277"></script><script type="text/javascript" src="plugins/LanguagesManager/angularjs/languageselector/languageselector.directive.js?cb=a4c6a5725baaaddd52b68ca0aa68b277"></script><div class="languageSelection"
     ng-cloak
     menu-title="English"
     piwik-menudropdown>
    <a class="item"
        href="?module=Proxy&amp;action=redirect&amp;url=http://piwik.org/translations/">About Piwik translations</a>
            <a class="item "
           value="am"
           title="አማርኛ (Amharic)">አማርኛ</a>
            <a class="item "
           value="ar"
           title="العربية (Arabic)">العربية</a>
            <a class="item "
           value="be"
           title="Беларуская (Belarusian)">Беларуская</a>
            <a class="item "
           value="bg"
           title="Български (Bulgarian)">Български</a>
            <a class="item "
           value="bn"
           title="বাংলা (Bangla)">বাংলা</a>
            <a class="item "
           value="bs"
           title="Bosanski (Bosnian)">Bosanski</a>
            <a class="item "
           value="ca"
           title="Català (Catalan)">Català</a>
            <a class="item "
           value="cs"
           title="Čeština (Czech)">Čeština</a>
            <a class="item "
           value="cy"
           title="Cymraeg (Welsh)">Cymraeg</a>
            <a class="item "
           value="da"
           title="Dansk (Danish)">Dansk</a>
            <a class="item "
           value="de"
           title="Deutsch (German)">Deutsch</a>
            <a class="item "
           value="el"
           title="Ελληνικά (Greek)">Ελληνικά</a>
            <a class="item active"
           value="en"
           title="English (English)">English</a>
            <a class="item "
           value="es"
           title="Español (Spanish)">Español</a>
            <a class="item "
           value="et"
           title="Eesti (Estonian)">Eesti</a>
            <a class="item "
           value="eu"
           title="Euskara (Basque)">Euskara</a>
            <a class="item "
           value="fa"
           title="فارسی (Persian)">فارسی</a>
            <a class="item "
           value="fi"
           title="Suomi (Finnish)">Suomi</a>
            <a class="item "
           value="fr"
           title="Français (French)">Français</a>
            <a class="item "
           value="gl"
           title="Galego (Galician)">Galego</a>
            <a class="item "
           value="he"
           title="עברית (Hebrew)">עברית</a>
            <a class="item "
           value="hi"
           title="हिन्दी (Hindi)">हिन्दी</a>
            <a class="item "
           value="hr"
           title="Hrvatski (Croatian)">Hrvatski</a>
            <a class="item "
           value="hu"
           title="Magyar (Hungarian)">Magyar</a>
            <a class="item "
           value="id"
           title="Indonesia (Indonesian)">Indonesia</a>
            <a class="item "
           value="is"
           title="Íslenska (Icelandic)">Íslenska</a>
            <a class="item "
           value="it"
           title="Italiano (Italian)">Italiano</a>
            <a class="item "
           value="ja"
           title="日本語 (Japanese)">日本語</a>
            <a class="item "
           value="ka"
           title="ქართული (Georgian)">ქართული</a>
            <a class="item "
           value="ko"
           title="한국어 (Korean)">한국어</a>
            <a class="item "
           value="lt"
           title="Lietuvių (Lithuanian)">Lietuvių</a>
            <a class="item "
           value="lv"
           title="Latviešu (Latvian)">Latviešu</a>
            <a class="item "
           value="nb"
           title="Norsk bokmål (Norwegian Bokmål)">Norsk bokmål</a>
            <a class="item "
           value="nl"
           title="Nederlands (Dutch)">Nederlands</a>
            <a class="item "
           value="nn"
           title="Nynorsk (Norwegian Nynorsk)">Nynorsk</a>
            <a class="item "
           value="pl"
           title="Polski (Polish)">Polski</a>
            <a class="item "
           value="pt-br"
           title="Português (Brasil) (Brazilian Portuguese)">Português (Brasil)</a>
            <a class="item "
           value="pt"
           title="Português (Portuguese)">Português</a>
            <a class="item "
           value="ro"
           title="Română (Romanian)">Română</a>
            <a class="item "
           value="ru"
           title="Русский (Russian)">Русский</a>
            <a class="item "
           value="sk"
           title="Slovenčina (Slovak)">Slovenčina</a>
            <a class="item "
           value="sl"
           title="Slovenščina (Slovenian)">Slovenščina</a>
            <a class="item "
           value="sq"
           title="Shqip (Albanian)">Shqip</a>
            <a class="item "
           value="sr"
           title="Српски (Serbian)">Српски</a>
            <a class="item "
           value="sv"
           title="Svenska (Swedish)">Svenska</a>
            <a class="item "
           value="ta"
           title="தமிழ் (Tamil)">தமிழ்</a>
            <a class="item "
           value="te"
           title="తెలుగు (Telugu)">తెలుగు</a>
            <a class="item "
           value="th"
           title="ไทย (Thai)">ไทย</a>
            <a class="item "
           value="tl"
           title="Tagalog (Tagalog)">Tagalog</a>
            <a class="item "
           value="tr"
           title="Türkçe (Turkish)">Türkçe</a>
            <a class="item "
           value="uk"
           title="Українська (Ukrainian)">Українська</a>
            <a class="item "
           value="vi"
           title="Tiếng Việt (Vietnamese)">Tiếng Việt</a>
            <a class="item "
           value="zh-cn"
           title="简体中文 (Simplified Chinese)">简体中文</a>
            <a class="item "
           value="zh-tw"
           title="繁體中文 (Traditional Chinese)">繁體中文</a>

    <form action="index.php?module=LanguagesManager&amp;action=saveLanguage" method="post">
        <input type="hidden" name="language" id="language">
                <input type="hidden" name="token_auth" value="anonymous"/>    </form>
</div>

        </div>

        <div class="installation-progress">
            <h4>
                Installation status
                <small>71%</small>
            </h4>
            <div class="progress">
                <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 71%;"></div>
            </div>
        </div>

        <div class="clearfix"></div>
    </div>

    <div class="row">
        <div class="col s3">
            <ul class="list-group">
                                                                                                    <li class="list-group-item disabled">1. Welcome!</li>
                                                                                                    <li class="list-group-item disabled">2. System Check</li>
                                                                                                    <li class="list-group-item disabled">3. Database Setup</li>
                                                                                                    <li class="list-group-item disabled">4. Creating the Tables</li>
                                                                                                    <li class="list-group-item disabled">5. Super User</li>
                                                                                                    <li class="list-group-item active">6. Setup a Website</li>
                                                                                                    <li class="list-group-item ">7. JavaScript Tracking Code</li>
                                                                                                    <li class="list-group-item ">8. Congratulations</li>
                            </ul>
        </div>
        <div class="col s9 content">


    <h2>Setup a Website</h2>

            <div id="feedback" class="alert alert-success">
            Super User created successfully!
        </div>

    <p>Please setup the first website you would like to track and analyse with Piwik:</p>



<form  action="?action=firstWebsiteSetup&amp;module=Installation&amp;deleteTables=1" name="websitesetupform" id="websitesetupform" method="post">


                        <div class="row form-group">
                <div class="col s12 m12 l6">
                                            <label>
                            Website name
                        </label>
                        <input type="text" name="siteName" id="siteName-0" />
                                    </div>
            </div>
                                <div class="row form-group">
                <div class="col s12 m12 l6">
                                            <label>
                            Website URL
                        </label>
                        <input type="text" name="url" id="url-0" style="color:rgb(153, 153, 153);" onfocus="javascript:if (this.value==&#039;http://example.org&#039;){this.value=&#039;http://&#039;;} this.style.color=&#039;black&#039;;" onclick="javascript:if (this.value==&#039;http://example.org&#039;){this.value=&#039;http://&#039;;} this.style.color=&#039;black&#039;;" value="http://example.org" />
                                    </div>
            </div>
                                <div class="row form-group">
                <div class="col s12 m12 l6">
                                            <label>
                            Website time zone
                        </label>
                        <select name="timezone" id="timezone-0">
	<option value="No timezone">Select a city</option>
	<optgroup label="Africa">
		<option value="Africa/Abidjan">Abidjan</option>
		<option value="Africa/Accra">Accra</option>
		<option value="Africa/Addis_Ababa">Addis Ababa</option>
		<option value="Africa/Algiers">Algiers</option>
		<option value="Africa/Asmara">Asmara</option>
		<option value="Africa/Bamako">Bamako</option>
		<option value="Africa/Bangui">Bangui</option>
		<option value="Africa/Banjul">Banjul</option>
		<option value="Africa/Bissau">Bissau</option>
		<option value="Africa/Blantyre">Blantyre</option>
		<option value="Africa/Brazzaville">Brazzaville</option>
		<option value="Africa/Bujumbura">Bujumbura</option>
		<option value="Africa/Cairo">Cairo</option>
		<option value="Africa/Casablanca">Casablanca</option>
		<option value="Africa/Ceuta">Ceuta</option>
		<option value="Africa/Conakry">Conakry</option>
		<option value="Africa/Dakar">Dakar</option>
		<option value="Africa/Dar_es_Salaam">Dar es Salaam</option>
		<option value="Africa/Djibouti">Djibouti</option>
		<option value="Africa/Douala">Douala</option>
		<option value="Africa/El_Aaiun">El Aaiun</option>
		<option value="Africa/Freetown">Freetown</option>
		<option value="Africa/Gaborone">Gaborone</option>
		<option value="Africa/Harare">Harare</option>
		<option value="Africa/Johannesburg">Johannesburg</option>
		<option value="Africa/Juba">Juba</option>
		<option value="Africa/Kampala">Kampala</option>
		<option value="Africa/Khartoum">Khartoum</option>
		<option value="Africa/Kigali">Kigali</option>
		<option value="Africa/Kinshasa">Kinshasa</option>
		<option value="Africa/Lagos">Lagos</option>
		<option value="Africa/Libreville">Libreville</option>
		<option value="Africa/Lome">Lome</option>
		<option value="Africa/Luanda">Luanda</option>
		<option value="Africa/Lubumbashi">Lubumbashi</option>
		<option value="Africa/Lusaka">Lusaka</option>
		<option value="Africa/Malabo">Malabo</option>
		<option value="Africa/Maputo">Maputo</option>
		<option value="Africa/Maseru">Maseru</option>
		<option value="Africa/Mbabane">Mbabane</option>
		<option value="Africa/Mogadishu">Mogadishu</option>
		<option value="Africa/Monrovia">Monrovia</option>
		<option value="Africa/Nairobi">Nairobi</option>
		<option value="Africa/Ndjamena">Ndjamena</option>
		<option value="Africa/Niamey">Niamey</option>
		<option value="Africa/Nouakchott">Nouakchott</option>
		<option value="Africa/Ouagadougou">Ouagadougou</option>
		<option value="Africa/Porto-Novo">Porto-Novo</option>
		<option value="Africa/Sao_Tome">Sao Tome</option>
		<option value="Africa/Tripoli">Tripoli</option>
		<option value="Africa/Tunis">Tunis</option>
		<option value="Africa/Windhoek">Windhoek</option>
	</optgroup>
	<optgroup label="America">
		<option value="America/Adak">Adak</option>

		<option value="America/Yellowknife">Yellowknife</option>
	</optgroup>
	<optgroup label="Antarctica">
		<option value="Antarctica/Casey">Casey</option>
		<option value="Antarctica/Davis">Davis</option>
		<option value="Antarctica/DumontDUrville">DumontDUrville</option>
		<option value="Antarctica/Macquarie">Macquarie</option>
		<option value="Antarctica/Mawson">Mawson</option>
		<option value="Antarctica/McMurdo">McMurdo</option>
		<option value="Antarctica/Palmer">Palmer</option>
		<option value="Antarctica/Rothera">Rothera</option>
		<option value="Antarctica/Syowa">Syowa</option>
		<option value="Antarctica/Troll">Troll</option>
		<option value="Antarctica/Vostok">Vostok</option>
	</optgroup>
	<optgroup label="Arctic">
		<option value="Arctic/Longyearbyen">Longyearbyen</option>
	</optgroup>
	<optgroup label="Asia">
		<option value="Asia/Aden">Aden</option>

		<option value="Asia/Yerevan">Yerevan</option>
	</optgroup>
	<optgroup label="Atlantic">
		<option value="Atlantic/Azores">Azores</option>
		<option value="Atlantic/Bermuda">Bermuda</option>
		<option value="Atlantic/Canary">Canary</option>
		<option value="Atlantic/Cape_Verde">Cape Verde</option>
		<option value="Atlantic/Faroe">Faroe</option>
		<option value="Atlantic/Madeira">Madeira</option>
		<option value="Atlantic/Reykjavik">Reykjavik</option>
		<option value="Atlantic/South_Georgia">South Georgia</option>
		<option value="Atlantic/St_Helena">St Helena</option>
		<option value="Atlantic/Stanley">Stanley</option>
	</optgroup>
	<optgroup label="Australia">
		<option value="Australia/Adelaide">Adelaide</option>
		<option value="Australia/Brisbane">Brisbane</option>
		<option value="Australia/Broken_Hill">Broken Hill</option>
		<option value="Australia/Currie">Currie</option>
		<option value="Australia/Darwin">Darwin</option>
		<option value="Australia/Eucla">Eucla</option>
		<option value="Australia/Hobart">Hobart</option>
		<option value="Australia/Lindeman">Lindeman</option>
		<option value="Australia/Lord_Howe">Lord Howe</option>
		<option value="Australia/Melbourne">Melbourne</option>
		<option value="Australia/Perth">Perth</option>
		<option value="Australia/Sydney">Sydney</option>
	</optgroup>
	<optgroup label="Europe">
		<option value="Europe/Amsterdam">Amsterdam</option>

		<option value="Europe/Zurich">Zurich</option>
	</optgroup>
	<optgroup label="Indian">
		<option value="Indian/Antananarivo">Antananarivo</option>

		<option value="Pacific/Wallis">Wallis</option>
	</optgroup>
	<optgroup label="UTC">
		<option value="UTC-12">UTC-12</option>

		<option value="UTC+14">UTC+14</option>
	</optgroup>
</select>
                                    </div>
            </div>
                                <div class="row form-group">
                <div class="col s12 m12 l6">
                                            <label>
                            Ecommerce
                        </label>
                        <select name="ecommerce" id="ecommerce-0">
	<option value="0">Not an Ecommerce site</option>
	<option value="1">Ecommerce enabled</option>
</select>
                                    </div>
            </div>

            <div class="row">
            <div class="col s12">
                <input type="submit" value="Next »" class="btn" name="submit" id="submit-0" />
            </div>
        </div>
    </form>
        <div class="clearfix"></div>

    <p><em>Note: once the Piwik Install is finished, you will be able to add more Websites to track!</em></p>


                    </div>
    </div>

</div>

</body>
</html>

Here's the menudropdown.directive.js:

/*!
 * Piwik - free/libre analytics platform
 *
 * @link http://piwik.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */

/**
 * Usage:
 * <div piwik-menudropdown menu-title="MyMenuItem" tooltip="My Tooltip" show-search="false">
 *     <a class="item" href="/url">An Item</a>
 *     <a class="item disabled">Disabled</a>
 *     <a class="item active">Active item</a>
 *     <hr class="item separator"/>
 *     <a class="item disabled category">Category</a>
 *     <a class="item" href="/url"></a>
 * </div>
 */
(function () {
    angular.module('piwikApp').directive('piwikMenudropdown', piwikMenudropdown);

    function piwikMenudropdown(){

        return {
            transclude: true,
            replace: true,
            restrict: 'A',
            scope: {
                menuTitle: '@',
                tooltip: '@',
                showSearch: '=',
                menuTitleChangeOnClick: '='
            },
            templateUrl: 'plugins/CoreHome/angularjs/menudropdown/menudropdown.directive.html?cb=' + piwik.cacheBuster,
            link: function(scope, element, attrs) {

                scope.selectItem = function (event) {
                    var $self = angular.element(event.target);

                    if (!$self.hasClass('item') || $self.hasClass('disabled') || $self.hasClass('separator')) {
                        return;
                    }

                    if (scope.menuTitleChangeOnClick !== false) {
                        scope.menuTitle = $self.text().replace(/[\u0000-\u2666]/g, function(c) {
                            return '&#'+c.charCodeAt(0)+';';
                        });
                    }
                    scope.$eval('view.showItems = false');

                    setTimeout(function () {
                        scope.$apply();
                    }, 0);

                    element.find('.item').removeClass('active');
                    $self.addClass('active');
                };

                scope.searchItems = function (searchTerm)
                {
                    searchTerm = searchTerm.toLowerCase();

                    element.find('.item').each(function (index, node) {
                        var $node = angular.element(node);

                        if (-1 === $node.text().toLowerCase().indexOf(searchTerm)) {
                            $node.hide();
                        } else {
                            $node.show();
                        }
                    });
                };
            }
        };
    }
})();

and lastly languageselector.directive.js:

/*!
 * Piwik - free/libre analytics platform
 *
 * @link http://piwik.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */

/**
 * Usage:
 * <div class="languageSelection">
 * </div>
 */
(function () {
    angular.module('piwikApp').directive('languageSelection', languageSelection);

    function languageSelection() {

        return {
            restrict: 'C',
            link: function(scope, element, attr, ctrl) {

                function postLanguageChange () {
                    var value = $(this).attr('value');
                    if (value) {
                        element.find('#language').val(value).parents('form').submit();
                    }
                }

                element.on('click', 'a[value]', postLanguageChange);
                scope.$on('$destroy', function() {
                    element.off('click', 'a[value]', postLanguageChange);
                });
            }
        };
    }
})();

Posts: 1

Participants: 1

Read full topic

CDN-hosted piwik,js

$
0
0

@JMCA2 wrote:

Is it supported to host the piwik.js file in a CDN (with a different domain)?
Is it ok to just replace the URL on the tracking code or is anything else needed?

Does the .js file change in every update?

Thanks

Posts: 2

Participants: 2

Read full topic

RssWidget Error

$
0
0

@mwevans75 wrote:

Hello,

Brand new user to Piwik here, and so far liking it!!

Periodically, we are getting a series of warnings when navigating around the Piwik Dasboard such as the following:

WARNING: E:.......\plugins\RssWidget\RssRenderer.php(47): Warning - simplexml_load_string(): &lt;!doctype html&gt; - Piwik 3.0.4 - Please report this message in the Piwik forums: (please do a search first as it might have been reported already)

WARNING: E:......\plugins\RssWidget\RssRenderer.php(47): Warning - simplexml_load_string(): ^ - Piwik 3.0.4 - Please report this message in the Piwik forums: (please do a search first as it might have been reported already)

WARNING: E:......\plugins\RssWidget\RssRenderer.php(47): Warning - simplexml_load_string(): Entity: line 1: parser error : Extra content at the end of the document - Piwik 3.0.4 - Please report this message in the Piwik forums: (please do a search first as it might have been reported already)

I'm wondering if I don't have a PHP module enabled properly.

Any advice is appreciated!!

Thanks!!

Posts: 3

Participants: 2

Read full topic

Calling addTracker twice causes JS-Error and no Tracking

$
0
0

@pfleck wrote:

Hi,
we want to track to three different Websites: The first (as usual) with _paq.push(['setSiteId','1']); and the second with _paq.push(['addTracker', u+'piwik.php', '2']);. 'Till this point everything works fine: Both Websites get's data.
But if we add a third tracker (with a second addTracker) _paq.push(['addTracker', u+'piwik.php', '3']); only the primary Website is tracked.
In the JS-Console the error The method addTracker is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: http://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers is shown. The documentation doesn't say anything about a limitation to two trackers and it implies that more trackers are supported.

A strange behavior is, that sometimes the tracking works, especially if we have the developer-Tools (F12) open.
Our environment:
* Browser: IE11;
* Piwik: 3.0.2;
* MySQL: 5.5.54;
* PHP: 7.0.15

Is there any solution to track to three different Websites?
Thank you in advance

Posts: 1

Participants: 1

Read full topic


How to analyze big report archives?

$
0
0

@Mike_H wrote:

My piwik database is suddently rapidly growing (now 30gb). I have not upgraded Piwik and although we recently receive more traffic, the growth seems out of proportion.

I am looking for help in reducing the database size and/or to find out where this growth is coming from.

The privacy page reports: Current database size: 30 G
I have ran the diagnostics:analyze command on the biggest archive (which is listed as 19gb in phpmyadmin)

Output of: diagnostics:analyze-archive-table 2017_01

Statistics for the archive_numeric_2017_01 and archive_blob_2017_01 tables:

SEE: https://pastebin.com/MPB51KYm (too big for this forum)

How to read the diagnostics? Are any of these numbers significant?

Total # Invalidated Archives: 15059
Total # Temporary Archives: 615
Total # Error Archives: 7

Output from Diagnostic -> Database usage

Tracking 6 websites (Total: 2,509,806 visits, 20,957,656 pageviews, 48,039,817 actions, 0 revenue)

Tracker Tables

TABLE DATA SIZE INDEX SIZE ROW COUNT
piwik_log_action 725 M 58.6 M 594,573
piwik_log_conversion 16 K 32 K -
piwik_log_conversion_item 16 K 16 K -
piwik_log_link_visit_action 4.4 G 3 G 34,273,109
piwik_log_visit 497 M 382.6 M 1,744,611
Total 5.6 G 3.5 G 36,612,293

Report Tables
TABLE DATA SIZE INDEX SIZE ROW COUNT
piwik_archive_blob_2017_12 16 K 16 K -
piwik_archive_blob_2017_11 16 K 16 K -
piwik_archive_blob_2017_10 16 K 16 K -
piwik_archive_blob_2017_09 16 K 16 K -
piwik_archive_blob_2017_08 16 K 16 K -
piwik_archive_blob_2017_07 16 K 16 K -
piwik_archive_blob_2017_06 162.1 M 2.3 M 32,077
piwik_archive_blob_2017_05 667.3 M 7 M 55,323
piwik_archive_blob_2017_04 394.1 M 9 M 14,770
piwik_archive_blob_2017_03 265.1 M 6 M 12,566
piwik_archive_blob_2017_02 207.1 M 5 M 12,412
piwik_archive_blob_2017_01 18.6 G 75.3 M 2,164,049
piwik_archive_blob_2016_12 85 M 3 M 12,101
piwik_archive_blob_2016_11 113 M 3 M 12,837
piwik_archive_blob_2016_10 75 M 3 M 5,216
piwik_archive_blob_2016_09 81 M 4.1 M 5,886
piwik_archive_blob_2016_08 8.1 M 208 K 841
piwik_archive_blob_2016_07 16 K 16 K -
piwik_archive_blob_2016_06 16 K 16 K -
piwik_archive_blob_2016_05 16 K 16 K -
piwik_archive_blob_2016_04 16 K 16 K -
piwik_archive_blob_2016_03 16 K 16 K -
piwik_archive_blob_2016_02 16 K 16 K -
piwik_archive_blob_2016_01 45 M 128 K 240
piwik_archive_blob_2015_12 16 K 16 K -
Total 20.7 G 118.3 M 2,328,318
1-25 of 67

Metric Tables
TABLE DATA SIZE INDEX SIZE ROW COUNT
piwik_archive_numeric_2017_12 16 K 32 K -
piwik_archive_numeric_2017_11 16 K 32 K -
piwik_archive_numeric_2017_10 16 K 32 K -
piwik_archive_numeric_2017_09 16 K 32 K -
piwik_archive_numeric_2017_08 16 K 32 K -
piwik_archive_numeric_2017_07 16 K 32 K -
piwik_archive_numeric_2017_06 1.3 M 2.5 M 13,900
piwik_archive_numeric_2017_05 4 M 7 M 14,914
piwik_archive_numeric_2017_04 5 M 8 M 6,160
piwik_archive_numeric_2017_03 3 M 5 M 7,446
piwik_archive_numeric_2017_02 3 M 5 M 8,080
piwik_archive_numeric_2017_01 17.1 M 19.1 M 171,825
piwik_archive_numeric_2016_12 2 M 3 M 3,489
piwik_archive_numeric_2016_11 2 M 3 M 3,125
piwik_archive_numeric_2016_10 3 M 4 M 2,095
piwik_archive_numeric_2016_09 2.1 M 7.1 M 2,547
piwik_archive_numeric_2016_08 128 K 176 K 661
piwik_archive_numeric_2016_07 16 K 32 K -
piwik_archive_numeric_2016_06 16 K 32 K -
piwik_archive_numeric_2016_05 16 K 32 K -
piwik_archive_numeric_2016_04 16 K 32 K -
piwik_archive_numeric_2016_03 16 K 32 K -
piwik_archive_numeric_2016_02 16 K 32 K -
piwik_archive_numeric_2016_01 16 K 32 K 157
piwik_archive_numeric_2015_12 16 K 32 K -
Total (learn more) 43 M 64.6 M 234,399

Other Tables
TABLE DATA SIZE INDEX SIZE ROW COUNT
piwik_access 16 K 0 M 6
piwik_goal 16 K 0 M -
piwik_logger_message 16 K 0 M -
piwik_log_profiling 16 K 16 K -
piwik_option 176 K 16 K 217
piwik_plugin_setting 16 K 16 K 6
piwik_sequence 16 K 0 M 67
piwik_session 16 K 0 M -
piwik_site 16 K 0 M -
piwik_site_setting 16 K 0 M -
piwik_site_url 16 K 0 M -
piwik_user 16 K 16 K 4
Total (learn more) 352 K 64 K 300

Note that I have already setup auto archiving.
Any pointers on whether this is looking healthy or not are very welcome.

Posts: 1

Participants: 1

Read full topic

Heatmap & Session Recording

Endless 302 redirections after 3.0.4 upgrade

$
0
0

@dohseven wrote:

Hi,

I'm using Piwik for a website hosted on OVH, where I only have access through FTP.
After upgrading to 3.0.4 version everything seemed to be working properly for a while, but now I have infinite 302 redirections and Firefox displays the The page isn’t redirecting properly error. Same error when using the Piwik mobile app.

I tried to do a fresh install of 3.0.4 version in another directory and there is no redirection errors in that case.

How could I try to debug this issue?

Posts: 1

Participants: 1

Read full topic

Email report not working (on 5 domains)

$
0
0

@Klaren wrote:

This problem is reported several times. There is no solutions or comment that helped me. Matt was in contact but didn't come back with a solution. All installs (5) are on DirectAdmin console. So anyone with any experience with this DirectAdmin console??

To detect if this problem was Joomla related I also have a Wordpress installation, but same problem here.

Posts: 1

Participants: 1

Read full topic

Page overlay not working - do I need a later version?

$
0
0

@mandy wrote:

Hi

We are using Piwik Community version 2.14.3.
The latest Piwik Community version is 3.0.4

The page overlay function was working when I last checked on 25 May, then it was no longer working on 31 May.

The other reporting is working. When I choose the page overlay report the left hand nav just reads "Loading" and the error message "The server refused the connection" shows in the part of the page where the intranet page with overlay usually sits .
Can anyone assist?

cheers

Posts: 2

Participants: 2

Read full topic

Viewing all 5829 articles
Browse latest View live