vikpaw Posted October 4, 2017 Share Posted October 4, 2017 Hi I've got a site shared publicly to anyone with the link, and I want to run some analytics to see when it's accessed, where from etc. Google Analytics style. Any ideas on how to achieve this, by putting code into the HTML widget? I've tried Google, but it didn't seem to work. I've tried StatCounter, but it blanked the page when I added the code, and I had to open in safe mode to remove it. It doesn't need to be anything fancy, I just want some very basic metrics to see if something shared is being used, and when, ideally by unique users. Cheers in advance Link to comment Share on other sites More sharing options...
adamw Posted October 4, 2017 Share Posted October 4, 2017 If you login as an admin to your platform and search for 'analytics' in the search bar, you can find an app to help with this.You get something like this: I've covered up the site names and authors in this example, but you should see all your sites and their stats here. You can also use the filter at the top to search for sites by name, etc... 1 Link to comment Share on other sites More sharing options...
vikpaw Posted October 5, 2017 Author Share Posted October 5, 2017 Thanks @adamw I've used this, but I'm looking for more. It reports up until the day before, so I can't see any more than I could yesterday. I've tried changing the system date in my computer but I guess the stats are compiled at the server side and won't be fooled. The built-in analytics may have to do, but what I'm looking for was a little more info on the users, so, time of view, their location, repeat views etc. It's more for a site that is shared externally, so I want to see the reach, rather than just summary total views. Ideally, I can see this somewhere in realtime. If I can embed a tracking link in a html widget, then it would be okay, but so far I've not found the right tool. I'll keep looking... Link to comment Share on other sites More sharing options...
vikpaw Posted October 5, 2017 Author Share Posted October 5, 2017 To follow up on this. I've managed to use Woopra to add some tracking javascript which seems to do what I want. I placed the html widget at the bottom of the page and inserted the <script>...</script> tags, and it appears to work, despite wanting to be in the Head tag of the page. The benefits are it shows live visits, time, location, and other info, and I can get it to email me an alert when an action happens. This is just on one site, so I'll have to play and see how I can get separation if there are multiple sites as it's based on the domain url. 2 Link to comment Share on other sites More sharing options...
vikpaw Posted October 25, 2017 Author Share Posted October 25, 2017 With a little help from the Quincey @Graham Quince I have managed to create a widget that can be used to make adding the code to a page easier. Before I publish there are a couple of tweaks required and I require some assistance from you good folk. Could you tell me how to reference the name of the site and the name of the page, using javascript? If I can grab this, I can pass it to the tracking code as a custom label, and this will allow tracking of logged in users. 1 Link to comment Share on other sites More sharing options...
vikpaw Posted October 30, 2017 Author Share Posted October 30, 2017 This is what it could show, with the page name next to action. At the moment the page name has to be manually added as part of the widget - if someone can assist with a built-in variable to list sitename and pagename, this could be automated. It's not so bad for a publicly shared site, but for logged in users, as the URL doesn't change it needs to have a label for each site-page combo. Other things it can do is to track links clicked, and even identify the user. I'm trying to make time to watch the Frog API videos, so I can pull the username out too. 1 Link to comment Share on other sites More sharing options...
Graham Quince Posted October 31, 2017 Share Posted October 31, 2017 This is brilliant. Thanks so much for sharing 1 Link to comment Share on other sites More sharing options...
pconkie Posted November 7, 2017 Share Posted November 7, 2017 this.options.siteLink Gets the name of the site. 2 Link to comment Share on other sites More sharing options...
johnmorris01 Posted November 22, 2017 Share Posted November 22, 2017 (edited) Did you get ever get anywhere with publishing a widget which also captured the page name? That side of it would be very useful for us with our school website as we are very keen to ascertain which sections are visited! We have the standard Woopra tracking code which is useful in capturing info in terms of visitors but obviously no good for Froglearn sites as we just see a lot of "app/os" page visits! Edited November 22, 2017 by johnmorris01 Link to comment Share on other sites More sharing options...
vikpaw Posted November 23, 2017 Author Share Posted November 23, 2017 16 hours ago, johnmorris01 said: Did you get ever get anywhere with publishing a widget which also captured the page name? That side of it would be very useful for us with our school website as we are very keen to ascertain which sections are visited! We have the standard Woopra tracking code which is useful in capturing info in terms of visitors but obviously no good for Froglearn sites as we just see a lot of "app/os" page visits! Hi I don't have an auto page sensor, however I have got it to the stage where you have a parameter which you would have to label and configure on each page, to give it a name. This would then pull through as a tag into the analysis. I haven't had chance to work on it for a while, so I've not even parsed the data returned by the sitelink code that @pconkie kindly supplied. Hope to have it publishable soon. If anyone out there knows how to get the page label - it would be great. I've seen a bit of code, which was a bookmarklet which returns the internal alias, which includes the creator's name and I think the site / page name, but I'm not sure that will work, or how to apply it. Link to comment Share on other sites More sharing options...
johnmorris01 Posted November 28, 2017 Share Posted November 28, 2017 We've had our tracking code inserted into our website theme so that it should appear on all of the pages but we still just see /app/os or /app/os?site=website as the URLs viewed. Link to comment Share on other sites More sharing options...
vikpaw Posted November 28, 2017 Author Share Posted November 28, 2017 I'm not sure their code is built to be centralised, however even in the theme it should behave as though it's loaded on each page, shouldn't it? It's much better to have it on each page manually, even though I couldn't get it into the Head Tag. When you are looking at logged in sites, it will only ever show the data from the URL which doesn't change much if at all. The way I have it working is I added custom code to their supplied tracking code which then creates a new variable which you can analyse on. The problem I have is that at the moment the page name is a parameter of the widget so I have to drag it on to a page and then enter a name for each page. If the page name could be extracted from javascript, then you'd only need to drag the widget onto the page. Actually, thinking about it, in order for it to be easily shared, I'd need a parameter to enter the unique tracking ID, which defeats the object of making it easy. Otherwise, the only option is to get each site to create their own widget. I wonder if there is a way to record some data, somewhere in Frog, maybe just as a dummy staff member's name and then refer to that in the code. So you can use the widget, so long as you also create a dummy staff member whose first name is IgnoreMeCustomWoopraTracking and last name is the tracking code. Link to comment Share on other sites More sharing options...
johnmorris01 Posted November 29, 2017 Share Posted November 29, 2017 That was what I thought - we only need it on our externally available website so there should be unique links displaying for folks not logged in. I can see the increase in Woopra stats so it is definitely tracking more but the actual page visit info is still just app/os or app/os?website so we still don't know which actual pages have been looked at. Not sure if I need to alter the tracking code or whether the #! in the URL causes the Woopra tracking to truncate the URL? 1 Link to comment Share on other sites More sharing options...
johnmorris01 Posted February 1, 2018 Share Posted February 1, 2018 Did this ever move along? Our Governors are still interested in finding out more on which areas of our school website are being accessed and I've literally nothing to tell them other than overall visits/types of devices used via using Woopra. Frog Analytics of no use at all either in terms of this and we've still zero ideas on how has at least linked up their phone to the MyFrog app so cannot feedback at all in terms of the take up of it! Link to comment Share on other sites More sharing options...
Sue Busher Posted April 22, 2020 Share Posted April 22, 2020 Did this go anywhere? I too am really keen to have much more visibility of how our sites are being used so I can make much more informed decisions rather than best guess or requests. The current analytics tools on Frog are OK but don't give me the level of depth I want (such as PDF downloads, links clicked etc). Can we add Google analytics into the main website? Would appreciate any advice, even if Frog partners with an analytics software company that we could consider. Link to comment Share on other sites More sharing options...
Graham Quince Posted April 22, 2020 Share Posted April 22, 2020 Hi @Sue Busher, Honestly, development has been focussed on other things. The Visitor Log widget helped with a bit more data and just today, Adam has approved my new FrogCode app, Link Log, which gives you more or less the same information as Visitor Log but for a resource./website: https://www.frogeducation.com/community/frogcode/frogcode-showcase/linklog Unfortunately, Vik left the school he was at shortly after. I beleive Woopra provides you with an embed code, and I can help get it running. Google Analytics cannot be easily added to Frog. It's been over 2 years since I looked at Vik Paw's code, but if you want to sign up for an account, I can see if I can help. Graham Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now