metadata_presenter 3.0.9 → 3.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/metadata_presenter/application.html.erb +1 -1
- data/app/views/metadata_presenter/analytics/_ga4.html.erb +1 -1
- data/app/views/metadata_presenter/analytics/_global_analytics.html.erb +1 -1
- data/app/views/metadata_presenter/analytics/_gtm.html.erb +1 -1
- data/app/views/metadata_presenter/analytics/_ua.html.erb +1 -1
- data/lib/metadata_presenter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54c6ecc2b1debb009b47be314522b2ba7e23ce63e7d5f3faa765d74e7a36ff7d
|
4
|
+
data.tar.gz: 5798336e9c7611f5c0c25b91bf1a9840597badd1def527071b86f85a7775131d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 928a9c85c03b7b8d40a06e60d00eaf5ddc2392150326ff6d29afbfb75fec76a8d139765ba5f51abc8d292e5c83741e80e446a9252680dfab18132bda408a8332
|
7
|
+
data.tar.gz: 82197744b9226026f5c3afc25bf74fa008978145a8ad522e7132cdc576e3a50fa072739c60f68cec58330d787a401e9968d835c6f980266c1ad35e28c155c478
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!-- Form Owner Google Analytics 4 -->
|
2
2
|
<% if Rails.application.config.respond_to?(:global_ga4) %>
|
3
3
|
<%# Global Google Analytics (GA4) should be included before this point so we only need a config setting %>
|
4
|
-
<script
|
4
|
+
<script nonce=<%= request.content_security_policy_nonce %>>
|
5
5
|
gtag('config', '<%= measurement_id %>');
|
6
6
|
</script>
|
7
7
|
<% end %>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<!-- Global MoJ Forms site tag (gtag.js) - Google Analytics 4 -->
|
2
2
|
<script async src="https://www.googletagmanager.com/gtag/js?id=#{global_measurement_id}"></script>
|
3
|
-
<script
|
3
|
+
<script nonce=<%= request.content_security_policy_nonce %>>
|
4
4
|
var manual_global_analytics_properties = {
|
5
5
|
<%= yield :manual_global_analytics_properties %>
|
6
6
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Google Tag Manager for Form Owner -->
|
2
|
-
<script
|
2
|
+
<script nonce=<%= request.content_security_policy_nonce %>>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
3
3
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
4
4
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
5
5
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Google Universal Analytics for Form Owner -->
|
2
|
-
<script
|
2
|
+
<script nonce=<%= request.content_security_policy_nonce %>>
|
3
3
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
4
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
5
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metadata_presenter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MoJ Forms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_design_system_formbuilder
|