Comments (6)
Already implemented in 5e42842 but needs to be tested.
from roda.
Needs to be tested again in new implementation.
from roda.
I think it isn't working. The analytics script is not showing up on the rendered page.
from roda.
I suggest placing on the configuration the entire javascript instead of just the Tracking ID. Sometimes this javascript changes and it would make it easier to update.
The property ui.google.analytics.code doesn't make clear if you want the Tracker ID or the Javascript code
from roda.
The analytics is being injected as such (hardcoded):
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push([ '_setAccount', 'UA-XXXXX-X' ]);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl'
: 'http://www')
+ '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
It should be injecting: <script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-7248825-14', 'auto'); ga('send', 'pageview'); </script>
from roda.
Works fine. thanks
from roda.
Related Issues (20)
- File not injested HOT 10
- Running on multiple machines HOT 3
- Update information about supported versions in marketInfo
- AIP Permissions must be calculated inside the model service
- Creating an AIP without a template causes a NPE
- Remove "opt-in" from roda-core.properties
- Fix ns2 namespace in premis.xml when creating technical metadata
- Replace the current user database service
- CAS and basic auth HOT 1
- Question about Java library HOT 1
- Externalize docker image build
- AIP File download - REST AIP for RODA - v1 files HOT 1
- Custom E-ARK SIP representation type not being set when ingesting a E-ARK SIP
- Delete Job API endpoint does not work when a Job has JobReports
- Problem with artifactory
- Base roda overwrites the configuration regarding user permissions in roda-config.properties HOT 1
- Roda fails to reindex due to problem with other metadata files
- Roda fails to resolve other metadata with folders HOT 1
- File format identification manual override HOT 1
- File format identification warnings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roda.