A small script that reads the data exported as CSV and generates a preview of the webpage with an overlay of user clicks.
This script assumes that the Freenalytics application is using the Official Web Template.
This isn't a generic solution that you can plug and play directly to your application, it is merely a proof of concept of what can be done with the data generated and uploaded to Freenalytics. You may use this as some sort of inspiration for your own data treatment.
Clone this repository:
git clone https://github.com/freenalytics/tools-page-clicks-view
You may create a virtual environment to run this script:
python3 -m venv ./venv
And then activate it, (on unix
):
source ./venv/bin/activate
Install the dependencies (with or without virtual environment, up to you):
pip install -r requirements.txt
As mentioned before, this isn't a generic solution. If you with to try this yourself you should:
- Export your own CSV from your application page on Freenalytics (under the Data Entries page).
- Add the CSV into the folder where your script is located.
- Update the
URL
,DATA_AS_CSV
and thepages
array inside themain.py
file to fit your needs. - Run the script with
python main.py
.
You may need to install Google Chrome. Check out the Install Drivers page on the Selenium website.