FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Google Analytics and FWH
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Google Analytics and FWH
Posted: Thu Sep 02, 2021 03:05 PM

Did anyone connect to Analytics with FWH and if so, any starters sample code ?

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Google Analytics and FWH
Posted: Mon Sep 06, 2021 05:11 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Google Analytics and FWH
Posted: Mon Sep 06, 2021 07: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Google Analytics and FWH
Posted: 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
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Google Analytics and FWH
Posted: 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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Google Analytics and FWH
Posted: Mon Sep 06, 2021 04:56 PM

Harbour rocks! ;-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Google Analytics and FWH
Posted: Tue Sep 07, 2021 07: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.08 with Harbour
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Google Analytics and FWH
Posted: 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 ?[/list:u]

    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
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Google Analytics and FWH
Posted: Tue Sep 07, 2021 11:39 AM
Hello Anser, hello Mark,

I use Logs Viewer on my APACHE server, too.

Best regards,
Otto

























Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Google Analytics and FWH
Posted: 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 (fw): Select all Collapse
   ? "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()



Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Google Analytics and FWH
Posted: Wed Sep 08, 2021 04: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

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Google Analytics and FWH
Posted: Wed Sep 08, 2021 06: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

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Google Analytics and FWH
Posted: Wed Sep 08, 2021 06: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? :-)

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Google Analytics and FWH
Posted: Fri Sep 10, 2021 06: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 :-)

Continue the discussion