We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b57737 commit ebf7d29Copy full SHA for ebf7d29
assets/javascripts/app/app.coffee
@@ -11,7 +11,7 @@
11
try @initErrorTracking() catch
12
return unless @browserCheck()
13
14
- @showAnaliticsOne = false
+ @analiticsAlreadyShown = false
15
@el = $('._app')
16
@localStorage = new LocalStorageStore
17
@serviceWorker = new app.ServiceWorker if app.ServiceWorker.isEnabled()
assets/javascripts/lib/page.coffee
@@ -202,7 +202,9 @@ track = ->
202
return unless app.config.env == 'production'
203
return if app.analiticsAlreadyShown
204
205
+ # only show the analitics cookie notification once
206
app.analiticsAlreadyShown = true
207
+
208
consentGiven = Cookies.get('analyticsConsent')
209
consentAsked = Cookies.get('analyticsConsentAsked')
210
0 commit comments