Class: Consently::Providers::Plausible
- Defined in:
- lib/consently/providers/plausible.rb
Overview
Cookieless, and often run without a banner at all - but whether that is allowed is a legal call, not ours, so it waits for consent like any other analytics tag. Move it with category: :necessary if your legal advice says it may run right away.
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
build, cookie, cookie_manifest, #cookies, #initialize, #noscript, provider_key, provider_key=, register, registry, #to_s
Constructor Details
This class inherits a constructor from Consently::Providers::Base
Instance Method Details
#scripts ⇒ Object
11 12 13 |
# File 'lib/consently/providers/plausible.rb', line 11 def scripts [ Script.new(src: "#{host}/js/script.js", defer: true, data: { "domain" => domain }) ] end |