-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Analytics - More than just pageviews #4660
Comments
Easy part is done. Removed the analytics includes from the templates. Now to work on the documentation. Going to try to piece together a to-do list to review with the team before embracing upon a doc writing journey.
|
…lytics Tracking Code section to Installation Guide. [ref #4660]
Adding a list of misc resources I've been looking at for Google and Piwik/Matomo. |
…CustomizationFilesServlet [ref #4660]
In order to deliver a request from @Venki18 in the original version of this analytics issues (#4630), I have added a new event style class naming convention to btns in the source code of the dataverse, dataset, and file pgs. Those new style class are:
(There was already a style class for This should cover most end user events worth tracking, and will deliver the level of granularity beyond pageviews, that this issue was originally submitted for. |
Thanks to @kcondon, @landreev and @pameyer for the guidance and helping to set up my localhost in Google Analytics to do a quick test of the new config settings. We immediately got some real time results! Submitting a pull request and moving this to code review.
|
When reviewing the analytics code we provide in
google-analytics-snippet.xhtml
andpiwik-analytics-snippet.xhtml
for the issue Piwik - Counting downloads #4630, it appears that snippets of limit all the various features that Google Analytics and Piwik offer.@Venki18 had requested we support tracking downloads, which would require changes to our code base. We could deliver this scalability and customization by changing how this analytics code is added to each page. If we followed the examples we developed for Branding Your Installation, then all the analytics code can be moved out of application source code, and into external files that can be pointed to via the custom configuration settings documented in the Installation Guide.
Note: We should explore the request from @Venki18 more to see if the CSS class names he suggests would be beneficial to add to the source code for download or explore or any other event we want to track.
The text was updated successfully, but these errors were encountered: