Class: Roll::Amp::Html::GoogleAnalyticsTag
- Inherits:
-
AnalyticsTag
- Object
- AnalyticsTag
- Roll::Amp::Html::GoogleAnalyticsTag
- Defined in:
- lib/roll/amp/html/google_analytics_tag.rb
Overview
The amp-analytics tag for Google Analytics.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(content) ⇒ GoogleAnalyticsTag
constructor
Initializes new instance of the analytics tag.
Methods inherited from AnalyticsTag
Constructor Details
#initialize(content) ⇒ GoogleAnalyticsTag
Initializes new instance of the analytics tag.
8 9 10 |
# File 'lib/roll/amp/html/google_analytics_tag.rb', line 8 def initialize(content) super(GoogleAnalyticsTag.type, content) end |
Class Method Details
.type ⇒ Object
12 13 14 |
# File 'lib/roll/amp/html/google_analytics_tag.rb', line 12 def self.type 'googleanalytics'.freeze end |