I am wondering if there is a way to track how many people have downloaded a file on your site.
Thanks!
I am wondering if there is a way to track how many people have downloaded a file on your site.
Thanks!
Hi,
There is a similar question here:
Hope this well help…
Hi Yotam,
Thanks for this! Ideally I don’t want to use a database for it, as I already have a database connection on the page (and don’t want this information attached to that database). Any other ideas?
Hi, You can add a another collection (for example, SiteStatistics) and another dataset that’s connected to it. Then you can use the code to update this new collection whenever a user makes a click on your Download button.
How do I connect an additional dataset when there is a different one attached to that page?
To add new Dataset:
When I did that it did not add it to the page - but I think I figured it out, thank you.
How did you filled it out?
Hey there! I tried doing this but after doing so, i am unable to download the file
Same here. When I add an onClick event, the download stops working. Have you found a solution for this?
Hi guys for me I want to show how many people downloaded an item to visitors so when they are to download something, they are sure it’s good. Look at an example below. if I can do such a thing I will be great
The same happened for me!
Thank you! This worked perfectly for me.
I tried to do this by adding code to the download button itself, and although this at first seemed to work in terms of logging the downloads in the Site Events page, the download functionality was removed.
I also discovered that you need to remain logged on in order to track the Site Events because they are ‘live’ events only, and are cleared when leaving the page or signing out.
To get around this, I have attached the download button to a transparent box and then added the code to that box instead. Being as the download button is linked to this, it still tracks whenever the button is clicked.
To get around the Site Events clearing, I have linked the site to Google Stackdriver which works like a dream for me. In the code I have stated what description it should log in Google Stackdriver so we can tell which files have been downloaded and when.
Old post from 2018 being closed.
Please add a new post to the forum with a link to refer back to this old post.