Code

Discussion on phpAnalytics - Web Analytics Platform

Discussion on phpAnalytics - Web Analytics Platform

By
Cart 1,136 sales
Recently Updated

lunatio supports this item

Supported

716 comments found.

Wanted to purchase, I think I missed the sales with some mins.

Hello zutaya,

Sorry to hear that. You can always subscribe to our news letter and we’ll email you when we run our next discount campaign: https://lunatio.com/newsletter

Regards,

Lunatio.

aubinvan Purchased

Congratulations on a great product! I love the features. Currently, one page load = one visitor. Are you planning to integrate sessions (visits) or IP-based tracking in the future to avoid overcounting visitors?

aubinvan Purchased

Thank you Lunatio, I understand now.

aubinvan Purchased

Hello Lunatio,

Would it be possible, if you ever consider adding grouped sessions, to include it as an optional parameter? That way, anyone who wants more precise analytics could enable it, and the core cookieless/fingerprintless approach would remain intact for everyone else.

Thank you!

Hello aubinvan,

That would technically be possible, as that’s one of the advantage (and downside at the same time) when fingerprinting a user: you get to ability to pinpoint multiple pageviews to a single session. I’ve noted this request too.

Regards,

Lunatio.

Can you integrate website monitoring and website statistics into a single program script?

Hello luobo1689,

No such plans, they serve completely different purposes.

Regards,

Lunatio.

Prosivo

Prosivo Purchased

Hi, I see that every refresh (F5) counts as a new visitor and pageview. is this as intended? and could this be changed to not add a new visitor if its a refresh?

Hello Prosivo,

This is a side effect of using a privacy focused tracking mechanism that does not fingerprint the user.

So what happens here is the following: we consider a unique visitor, someone that just entered the website (no browser referrer), or someone that comes from an external source (a 3rd party referrer).

If the user, refreshes the pages on his first visit, the browser will re-send all the request headers again, meaning the browser will send an empty, or a 3rd party referrer, making our system believe it’s a brand new user.

This only happens if it’s the very first pageview of the user, if the user navigates on any other internal page, and then refreshes, the system will work as expected.

There isn’t anything we can do about it, besides fingerprinting the user by tracking his IP, or adding a cookie, then we could query a database to see if the user previously visited the website in that day, and then just consider it a pageview, but this is a huge no-no, as the whole purpose of this product is to be privacy focused.

Here’s a visual representation of how a referrer based tracking mechanism works.

Direct visit:

Referrer visit:

In a normal use case of a website, this shouldn’t be an issue, as people don’t randomly just refresh pages.

Regards,

Lunatio.

Prosivo

Prosivo Purchased

Thanks for your great replay!

Hello, your latest update is dated 21 November 2025. What have you changed and added? There is nothing about the update in the changelog!

Hello Serghei97,

Whenever we release an update, a changelog is also released. There was no software update on 21th of November.

Regards,

Lunatio.

vproios

vproios Purchased

Hello! 1. How does sending periodic email reports work ? 2. Can I set the frequency (e.g. monthly) of email reports ? 3. What format are the reports in the email? Is it plain text or can it include tables / summary statistics ? 4. Do you support HTML email or just plain text ? 5. Can each client (site) receive its own report ? 6. Can I send a different report / statistics per customer depending on their website ?

Hello vproios,

1. Periodic emails are sent automatically, if the user has the option enabled when he’s adding/editing a website.

2. The frequency is dictated by the Admin. You have two options, either send emails Monthly, or Weekly (See the https://phpanalytics.lunatio.com/admin/settings/advanced section).

3. You can preview the email at: https://i.imgur.com/hj1gHRq.png (website names blurred as this screenshot is from a production website).

4. We’re using Laravel’s built in markdown email templates, which means that emails are sent both in HTML and plain text format. ;)

5. & 6. Each account will receive a report for the websites the account is tracking. The user has the option to exclude a website from the email report if he choses so, either when creating, or editing a website (see point number 1).

Regards,

Lunatio.

vproios

vproios Purchased

Hello, very good product, but i want all 4 in one product, do you have 1 for all?

If not it is possible a bundle of 4 product in lower price?

Thanks very much!

Hello vproios,

Sorry, each software is being sold individually, as they serve completely different purposes. Sadly, there’s no way for us to bundle this into 4 products at once, as Envato does not have such an option.

Regards,

Lunatio.

Hi,

Could use this for like A/B Testing?

Hello JFOC,

Depends on what exactly are you trying to acheive. phpAnalytics has a built-in Event tracker, meaning you could track specific events for page A, and specific events for page B.

While logged-in on the live demo, head over to: https://phpanalytics.lunatio.com/phpanalytics.lunatio.com/events?from=2021-12-11 and click on the “Event code” button for additional information: https://imgur.com/tSPYGzn – there’s a small Javascript snippet that can be run for various events which you can trigger on your webpage (e.g: a successful payment, a song being played, a file being downloaded, etc.).

Regards,

Lunatio.

why the installation has to be so dificult ?

cPanel does not natively let you change the root of your main domain from public_html to another folder.

so if you dont have a vps or access to root server then you’re done

Hello pclabuk,

That step is not necessary anymore, and it is still present for some edge cases.

If you upload the contents of the Software folder in your public_html, and your server has mod_rewrite enabled on it and is configured to read rewrite rules from .htaccess files, then you’re all set.

This particular step isn’t something that we’ve added, it is a Laravel core requirement see: https://laravel.com/docs/12.x/installation#directory-configuration – which means that every laravel software in this world comes with this requirement, however – as previously said – we’re shipping the product with a workaround, making this step unnecessary.

P.S. All cPanel hosts, regardless of whether it’s a shared server or not, will allow changing the web root directory when adding Add-on Domains. So making your primary domain an Add-on domain instead, will provide you with a way to set a custom web root directory.

Regards,

Lunatio.

yes, just saw it as the client gave us an outdated update, so we used the latest one now from themeforest and everything is fine. so sorry for my comment before.

Hello pclabuk,

No worries, glad to hear that you’ve figured it out.

Regards,

Lunatio.

Before buying, I want to understand why the geolocation changes on the same device. I am from Moldova, but the geolocation changes to Poland, Germany, and Romania. I understand that statistics do not collect data, but at least a little accuracy would be nice! Thank you!

Hello Serghei97,

Do you mind doing a screen recording on your phone showing the behavior you’re reporting?

Regards,

Lunatio.

I’ll send you an email with the question, thank you!

Hello Serghei97,

The video you’ve sent us clearly show 1 location (Romania, Bucharest) being recorded for all 3 pageviews you’ve done, which is what Maxmind’s database has recorded for your ISP (Orange Romania).

I don’t see what the issue is.

Please pay attention to your mobile phone switching to other networks, such as a WiFi network, behind a VPN, or a proxy, etc.

Regards,

Lunatio.

@onetrickpony: personally, I wouldn’t recommend using Cloudflare with this product. The mod_remoteip extension isn’t an official Cloudflare extension, so you’re relying on a third-party to maintain it (for free). I doubt that will happen for too long.

You’re better off just omitting Cloudflare from any tracking apps like this one, IMO.

Good to know.

If you ever implement proper data comparison between selected dates, I will consider buying an extended license.

Will your script work with Open LiteSpeed servers? Or is it best to use Apache?

Hello CyberdyneSystems,

Sorry for the delay.

We haven’t tested it on OpenLiteSpeed so can’t say for sure, but in theory it should, as OpenLiteSpeed has support for reading .htaccess files and interpreting Apache rewrite rules.

It’s just a matter of whether it can read the .htaccess rules or not, otherwise no specific restrictions, if your hosting provider can confirm that, then it should work.

In fact, there’s a large number of users running phpAnalytics on Nginx for example (with Laravel’s official nginx rewrite rules).

As for data comparison between multiple timeframes, sorry but currently there are no such plans, it’s a functionality that was simply not requested enough and the time required to code such feature would be significant.

With that said, there are some nice new features coming soon, stay tuned.

Regards,

Lunatio.

Any plans to add support for plugins (a plugins system – similar to WordPress in some way)?

May be if some of us are developers and there’s a plugin system on place for some features we might consider adding ourselves rather than overloading you, so you can focus on the core stability and enhancement.

Just a thought tho, it’ll be nice to see something like that!

Hello maxremmix,

No such plans for this product. We have some past experience with Plugins system for a Social Network software we used to have, we’ve developed about 15 plugins for it, and I believe only 2-3 plugins were ever released by 3rd parties. That wouldn’t necessarily be a problem, but documentating and maintaining such a system is way too time consuming to be worth adding, sorry.

Regards,

Lunatio.

Hi Lunatio,

Thanks for reply.

It’s ok. We’ll use what’s available.

Hi,

Is it possible to change site owner? I don’t see admin menu option, but with custom sql or any other way?

Considering to add similar feature in the future?

Hello maxremmix,

Yes, it is possible with an SQL query, e.g:

UPDATE `websites` SET `user_id` = 'NEW_USER_ID_HERE' WHERE `websites`.`domain` = 'example.com';

Is this something that you need to be doing often? It would definitely be possible to implement a feature that would allow changing the website owner, but I feel like this isn’t something that’s being done on a regular basis.

Regards,

Lunatio.

For me this is more than enough! Thank you very much! May be some users might want to do it as well, if they’re comfortable with SQL queries then this feature might not be that needed as UI element, but if it’s easy to add won’t hurt to have it.

cloud9 Purchased

Hi

what to do the software is picking up page views but not visitors.. HELP please

Hello cloud9,

Replied via email.

Regards,

Lunatio.

Hi, I am willing to buy the extended (saas) version. Please answer the following question. This will help me to make informed decisions -

Since it uses MySQL as the backend, can you clarify:
  1. How are pageview/event records stored — is it purely raw event storage or do you have rollup/aggregation tables?
  2. Have you tested performance with large datasets (e.g. 10M+ rows in the events table)?
  3. Are there built-in optimizations (indexes, partitioning, background aggregation) to prevent queries from slowing down as the events table grows?
  4. Does the system support data retention (e.g. auto-purge old raw events after X days) to keep the database size manageable?

5. Does it support Postgres instead of MySql?

Hello bipulalam,

Thank you for reaching us.

1. We used to store the data on a column based system (aggregated), but we’ve recently changed the system and we now store each pageview per row, as we’re planning on adding more filters in the future.

2. Yes, I’ve tested it with 20M+ records. For “Last 30 days”, “Last 7 days”, or “Today”, the Overview page loaded within 0,6 seconds (subsecond). I don’t recall

3. Yes, we do have indexes set where they were necessary to speed up performance.

4. Data retention feature is planned, and I’m aiming to release it this year. It’s going to be a plan feature, and the Admin will be able to configure every plan with the number of days for the data to be retained for.

Regards,

Lunatio.

Hello bipulalam,

4. Quick update on this matter. At this point I can confirm that the next phpAnalytics update will have Data Retention feature as a plan option. Thank you for your feedback.

Regards,

Lunatio.

Idea suggestion similar to https://datafa.st/

Revenue focus as well. Would it be possible? I think it’s great idea and USP

Hello dr-panda,

Thank you for your feedback, interesting idea indeed. The problem with this approach is that it requires user-consent to be tracked, and the whole purpose of phpAnalytics is to not require any sort of consent. With that said, we’ll look into its feature set and see if we can bring anything to phpAnalytics. Once again, thank you for your feedback.

Regards,

Lunatio.

You’re welcome. This feature is becoming very popular. I think they’re using functionality similar to what we already have with events, so user privacy can remain a top priority. Thank you for your reply. Best regards

What kind of database does it use to store the page views and other metrics? Assuming a site gets 1 million page views a month, how much would it cost me to capture and store the metrics for that user’s site?

Hello ppraj14,

We’re using MySQL on InnoDB storage engine. The size of 1 million pageviews can vary depending on the information (e.g: the length of the URL, browser name, referrer name, etc.). On average, for 1 million pageviews, about 0.7GB is being used.

How much would cost you really depends on what pricing you’re getting from your hosting provider, it’s impossible for us to predict such costs.

Regards,

Lunatio.

RDCode

RDCode Purchased

Hi,

How can I add a live read-only demo page so that my users can see how the tool looks?

Regards,

Hello RDCode,

1. Add the website that you want to showcased on your phpAnalytics installation, with a “Public” privacy setting, so that anyone can access it.

2. Go to Admin > Settings > Advanced > General > Demo URL field, and copy the Stats Page of your website URL to this field. Now your homepage should look similar to our demo.

Regards,

Lunatio.

Hello Lunatio, does it work properly behind a CDN? Like Cloudfilt or Cloudflare.Thanks.

Hello onetrickpony,

Yes, as long as your server has the following extensions installed and configured on it: https://developers.cloudflare.com/support/troubleshooting/restoring-visitor-ips/restoring-original-visitor-ips/

Regards,

Lunatio.

lgh1217

lgh1217 Purchased

He cannot see which pages the same customer has visited under the site. Now all page visits are together. Can this be improved?

Hello lgh1217,

That’s not possible, as we do not store user ip addresses, cookies, or any other form of user fingerprinting. phpAnalytics is a privacy focused web analytics software.

Regards,

Lunatio.

RDCode

RDCode Purchased

Hi,

I bought and installed the Extended License, but a few things are missing:

1: Sitemap 2: Option to edit and redesign the homepage 3: Blogging system to post content for Google ranking

Regards,

Hello RDCode,

1. This is something we’re looking into, stay tuned.

2. phpAnalytics uses the Blade template system from Laravel, for more details you can consult: https://laravel.com/docs/12.x/blade

3. This was suggested before, our recommendation is to use a dedicated blogging platform, such as Wordpress, as they do a better job than we could ever do when it comes to blogging. With that said, this is something that we’re currently considering looking into as well.

Regards,

Lunatio.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey