Skip to content

Commit 44b4a56

Browse files
authored
fix: fix conversion tracking missing on button (GoogleChrome#9137)
1 parent 04b5653 commit 44b4a56

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/site/content/en/measure/index.njk

+9-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,15 @@ pageSpeed:
3232
<h1 class="hero__title">{{ pageSpeed.title }}</h1>
3333
{{ pageSpeed.summary | md | safe }}
3434
<div class="cluster gutter-base flow-space-size-2">
35-
<a class="button" data-type="primary" href="{{ pageSpeed.primaryButtonUrl }}">{{ pageSpeed.primaryButtonText }}</a>
35+
<a class="button"
36+
data-type="primary"
37+
data-category="web.dev"
38+
data-label="measure, run audit"
39+
data-action="click"
40+
href="{{ pageSpeed.primaryButtonUrl }}"
41+
>
42+
{{ pageSpeed.primaryButtonText }}
43+
</a>
3644
<a class="button" data-type="secondary" href="{{ pageSpeed.secondaryButtonUrl }}">{{ pageSpeed.secondaryButtonText }}</a>
3745
</div>
3846
</div>

0 commit comments

Comments
 (0)