Skip to content

Commit 4bb2089

Browse files
author
Matthias Feldotto
authored
Add ids for all sections for easy linking
1 parent 8f1ae2b commit 4bb2089

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ <h4>1-line setup</h4>
118118
<div class="container">
119119
<section id="getting-started" analytics-on="scrollby" analytics-category="Scrolling" scrollby-offset="20%">
120120
<div class="page-header"><h3>Getting started</h3></div>
121-
<section>
121+
<section id="installation">
122122
<h4>Installation</h4>
123123
<p>Download Angulartics and the Angulartics plugin for your vendor. Note: All plugins list Angulartics as a dependency, so they will be downloaded together.</p>
124124
<pre><code>$ bower install <strong class="highlighted">angulartics-google-analytics</strong> --save</code></pre>
@@ -162,7 +162,7 @@ <h4>Declarative event tracking</h4>
162162
</section>
163163
<br>
164164

165-
<section>
165+
<section id="inferred-values">
166166
<h4>Inferred values</h4>
167167
<p><code>analytics-on</code> always needs to be present, because it is the attribute that enables
168168
event tracking for the element. All other attributes will be inferred if omitted.</p>
@@ -177,7 +177,7 @@ <h4>Inferred values</h4>
177177
</section>
178178
<br>
179179

180-
<section>
180+
<section id="additional-parameters">
181181
<h4>Additional parameters</h4>
182182
<p>Each vendor has its own set of tracking properties. For example, <strong>Google Analytics</strong> have
183183
<i>category</i> and <i>label</i>.
@@ -202,7 +202,7 @@ <h4>Scroll tracking</h4>
202202
</section>
203203
<br>
204204

205-
<section>
205+
<section id="using-the-api">
206206
<h4>Using the API</h4>
207207
<p>In order to track pageviews and events from within your application logic,
208208
inject <code>$analytics</code> and invoke either the <code>pageTrack()</code>

0 commit comments

Comments
 (0)