Google Analytics and FWH

Google Analytics and FWH

Postby Marc Venken » Thu Sep 02, 2021 3:05 pm

Did anyone connect to Analytics with FWH and if so, any starters sample code ?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1428
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Google Analytics and FWH

Postby Antonio Linares » Mon Sep 06, 2021 5:11 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Google Analytics and FWH

Postby Otto » Mon Sep 06, 2021 7:00 am

Dear Antonio,
Thank you.

Can you please describe in a few words what analyzes and benefits Google gives us?
Or can we get similar statistics with pure mod harbour, too?

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Google Analytics and FWH

Postby Antonio Linares » Mon Sep 06, 2021 12:04 pm

Dear Otto,

We use mod_harbour with some DBFs (where you can store date, time, IP, etc.) and no need for Analytics :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Google Analytics and FWH

Postby Otto » Mon Sep 06, 2021 12:20 pm

Dear Antonio,
that is exactly what I do.
Thank you.
And I also look inside the Apache protocols.
-----------------------------------------------------------------

DBF rocks the web!
I used MDB with ASP back when I did more web programming.
MDB I always used in DBF way. One MDB for one table.
And now thanks to you, we have DBF also on the web.
DBF is so flexible.

Up to 2017 I had an ASP blog. Yesterday I imported all the records from MDB to DBF and have now all in mod harbour.
It is funny what small pictures we had. For to day they look like stamps.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Google Analytics and FWH

Postby Antonio Linares » Mon Sep 06, 2021 4:56 pm

Harbour rocks! ;-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Google Analytics and FWH

Postby Marc Venken » Tue Sep 07, 2021 7:18 am

Antonio Linares wrote:Dear Otto,

We use mod_harbour with some DBFs (where you can store date, time, IP, etc.) and no need for Analytics :-)


I think you can not trace the amount of hits that a image, button of link has on you site only in Harbour ? You need Analytics for that ??
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1428
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Google Analytics and FWH

Postby anserkk » Tue Sep 07, 2021 10:16 am

Otto wrote:Can you please describe in a few words what analyzes and benefits Google gives us?

If you own a website probably you may like to know certain information pertaining to your website for eg:-

    1. How many visitors were there on your website during a particular period?
    2. From which country are they from?
    3. How much time did they spend on your website?
    4. Which is the most visited page on your website?
    5. How many new visitors? How many returning visitors ?
    6. What kind of devices were used by the visitors ie Mobile phone OR Tablet OR Desktop ?

These are some of the advantages of using Google Analytics. I am sure that there are much more useful information too, I just listed some of them

Regards
Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Google Analytics and FWH

Postby Otto » Tue Sep 07, 2021 11:39 am

Hello Anser, hello Mark,

I use Logs Viewer on my APACHE server, too.

Best regards,
Otto

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image



Image

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Google Analytics and FWH

Postby Otto » Tue Sep 07, 2021 11:56 am

But also the mod harbour functions give you much information about your users.
And you can insert eventhandlers into your page where you can log whatever you want.

Code: Select all  Expand view

   ? "AP_UserIP() --> cUserIP   returns the IP, as string, of the client"
    ? AP_UserIP()

    ? "<HR>"
    ? "AP_HeadersIn() //--> Hash    returns a hash with all headers pairs, key and value"
    ? AP_HeadersIn()
 



Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Google Analytics and FWH

Postby anserkk » Wed Sep 08, 2021 4:17 am

Yes, you can view most of the things by analyzing the logs of the server using a log analyzer tool. What I understand is that the result that you see on the Logs will be an inflated result.

Logs include all page requests to the server. These ‘requests’ can include more than what we think of as viewing a web page. These requests can include images downloaded to be viewed on the web page and file downloads that can include ‘scripts’ from the code of the web page - not actually the web page. You have to take it with a pinch of salt
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Google Analytics and FWH

Postby Otto » Wed Sep 08, 2021 6:07 am

Dear Anser,

Yes, you are totally right. It also depends a lot on the webpage you are making.
Webpages like ours have an average of between 100 and 200 hits a day. You don't need many statistics here. The amount is just too small.

What might be interesting is to integrate the messenger from FB?
https://www.facebook.com/business/goals ... -messenger
Do you have experience with that?


Simple access statistics are important, otherwise you can't know whether someone is interested at all.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Google Analytics and FWH

Postby Otto » Wed Sep 08, 2021 6:19 am

I still forgot one thing.
I practically never incorporate Analytics.
Why does google give us the Analytics tool for free?
There's a saying here:
You get what you pay for.
Maybe we pay more than we get? :-)
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Google Analytics and FWH

Postby anserkk » Fri Sep 10, 2021 6:02 am

Otto wrote:What might be interesting is to integrate the messenger from FB?
https://www.facebook.com/business/goals ... -messenger
Do you have experience with that?

Sorry. I haven't tried this

Otto wrote:Why does google give us the Analytics tool for free?
There's a saying here:
You get what you pay for.
Maybe we pay more than we get? :-)

True, nothing comes free in this world :D
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 59 guests