Jump to content

Recommended Posts

Posted

Is your user role excluded from tracking?
Is the JS in your site present?
Are there errors in the console?
Is your HTML valid aka are there ending </body> and </html> tags?

Posted
25 minutes ago, wbmnfktr said:

Is your user role excluded from tracking?
Is the JS in your site present?
Are there errors in the console?
Is your HTML valid aka are there ending </body> and </html> tags?

Yes!, this happened to me, I forgot to add </body> and </html> tags.

  • Like 1
Posted

I'm not sure about how or if PageHitCounter tracks URL-segments.

A wild guess would be it doesn't. I almost never use them and therefore don't have a testing setup with it right now.

 

Posted

Thanks anyway. I supposed it would as it is possible to exclude them. But they are definitely the source of the problem.

  • 8 months later...
Posted

hej,

is it possible to hook into pageViewTracked from ready.php?
I tried the following, but since I am not so familiar with hooks, it is not working out.

wire()->addHookAfter('PageHitCounter::pageViewTracked', function($pageID) {

$page = wire('pages')->get($pageID);
...

}

Thanks for any help.

  • 9 months later...
Posted

Hello,
nice module.

Is it possible to get all page hits from last week (per day) / month (per week) / year (per month) to fill a chart for the admin dashboard?

Thank you in advance

Greetings

 

Posted
23 minutes ago, ShadowByte said:

Hello,
nice module.

Is it possible to get all page hits from last week (per day) / month (per week) / year (per month) to fill a chart for the admin dashboard?

Thank you in advance

Greetings

 

No, this is not possible. As described in the cons, the hits are only summed up and no historical data is collected. The module has no claim to be a statistics module, only a small helper for a quick overview of accesses and interest-based sorting. Please ask @bernhard, he once wrote an extension as a module, which should extend my module with these functions.

  • Like 2
  • 8 months later...
Posted

Hi @All, Hey @David Karicha great module!!! I mean, the possibility of tracking keywords is speechless...

I've updated my botlist.txt file with this:

go-http-client|googlebot|bingbot|link|googlebot-image|yandexbot|semrushBot|ahrefsBot|zoominfobot|applebot|seznambot|yak-linkfluence|barkrowler|blexbot|yandeximages|cfnetwork|linkedinbot|feed|dalvik|validator|baiduspider|2345Explorer|survey|surdotlybot|

But I am not sure how to add: "Screaming Frog SEO Spider" with empty spaces between words.

Thanks!

Posted
4 hours ago, Leftfield said:

Hi @All, Hey @David Karicha great module!!! I mean, the possibility of tracking keywords is speechless...

I've updated my botlist.txt file with this:

go-http-client|googlebot|bingbot|link|googlebot-image|yandexbot|semrushBot|ahrefsBot|zoominfobot|applebot|seznambot|yak-linkfluence|barkrowler|blexbot|yandeximages|cfnetwork|linkedinbot|feed|dalvik|validator|baiduspider|2345Explorer|survey|surdotlybot|

But I am not sure how to add: "Screaming Frog SEO Spider" with empty spaces between words.

Thanks!

Hi @Leftfield

the detection is done via a simple RegEx in a match group. You can add the string "Screaming Frog SEO Spider" with spaces to the list. But without a pipe at the end.

go-http-client|googlebot|bingbot|link|googlebot-image|yandexbot|semrushBot|ahrefsBot|zoominfobot|applebot|seznambot|yak-linkfluence|barkrowler|blexbot|yandeximages|cfnetwork|linkedinbot|feed|dalvik|validator|baiduspider|2345Explorer|survey|surdotlybot|Screaming Frog SEO Spider

 

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...