Show HN: Footloom – Self-Hosted Google Analytics Alternative for WordPress
Footloom gives you clear, useful visitor analytics right inside your WordPress dashboard. All data is stored in your own database. Nothing is sent to an outside analytics service.
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
Footloom gives you clear, useful visitor analytics right inside your WordPress dashboard. All data is stored in your own database. Nothing is sent to an outside analytics service.
It is built to stay light. Tracking requests are answered very early in the WordPress load, before your theme and most plugins run, so even busy sites stay fast. The tracking script is small, loads deferred and never blocks your pages.
Track clicks, form submissions and page visits from the Custom Events screen. Pick a CSS selector or a URL path, choose a label and an optional value, and you are done. Each rule shows how many times it fired in the last 7 days, so you can check it works.
Outbound link clicks and form submissions are tracked automatically.
Developers can send events from JavaScript:
footloom.track('signup', { label: 'footer form', value: 1 });
Or add attributes to any element:
<a href="/pricing.pdf" data-footloom-event="download" data-footloom-label="pricing.pdf">Download</a>
Goals
Set a goal for an event or a page visit, like a signup or a thank you page. Page goals can match an exact path or every page under a path, such as /blog/*. The dashboard shows completions and conversion rate for each goal.
Create short links like yoursite.com/go/summer-sale from the Redirections screen and share them anywhere, in emails, social posts, ads or QR codes. Footloom counts each click on your server and sends the visitor straight on to the destination. Each link shows its clicks for the last 7 days and all time, with a copy button for the link.
You choose the prefix, so links can start with /go/, /out/ or anything else you like. Bots are not counted.
Footloom does not contact any outside service unless you turn on visitor countries.
Off by default. When you turn on “Show visitor countries” in Footloom, then Settings, Footloom uses the free DB-IP Lite database to show which country each visit comes from.
If your site runs behind Cloudflare, Footloom reads the country from the header Cloudflare adds to each request. This needs no download and works with the setting off.
Also check out our other WordPress products.
Home dashboard with summary numbers, daily chart, top pages and referrers.
Visitor log with filters.
Content report with views, visitors and average time for each page.
Custom events screen.
Installation
In your WordPress admin, go to Plugins, then Add New, and search for Footloom.
Click Install Now, then Activate.
Open Footloom in the admin menu. Data starts showing as soon as your first visitor arrives.
To install manually, upload the footloom folder to /wp-content/plugins/ and activate it from the Plugins screen.
No. A random visitor ID is saved in the browser’s local storage so returning visitors can be recognized. It contains no personal information.
That depends on the laws that apply to your site. If you need to wait for consent before tracking, set window.footloomConsent = false before the Footloom script loads, and visitors will not be tracked on that page.
No. The IP address is only used in memory to look up the visitor’s country, then discarded.
Footloom is built to be light. The tracking script loads deferred and sends small background requests. On the server, tracking requests stop before your theme and most of WordPress load, and a typical pageview takes only a few database queries.
Yes. Tracking runs in the browser, so cached pages are counted normally.
Yes, except administrators while the “Don’t track administrators” setting is on. Customers, members, editors and other logged in users are always tracked.
Countries are off by default. Turn on “Show visitor countries” in Footloom, then Settings. The country database then downloads in the background. Visits recorded before it finishes, or from addresses the database does not know, show as unknown. Sites behind Cloudflare get countries without this setting.
Forever by default. Go to Footloom, then Settings, to delete data older than a number of days. Old data is removed once a day and cannot be recovered.
Yes. A go link can send visitors to any http or https address. The redirect is temporary (302), so browsers check with your site on every click and each one is counted.
Deleting Footloom from the Plugins screen removes all its database tables, settings and the downloaded country database.
“Footloom Analytics – Self-Hosted Google Analytics Alternative” is open source software. The following people have contributed to this plugin.
Translate “Footloom Analytics – Self-Hosted Google Analytics Alternative” into your language.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。