Skip to content

Commit

Permalink
Remove UTM params
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Sep 17, 2024
1 parent 89df550 commit fa6759e
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 31 deletions.
26 changes: 13 additions & 13 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<h4 class=band__title>Learn:</h4>

<ul class="o-list-inline o-list-inline--spaced text-banner mb0">
<li><a href="/2019/03/cache-control-for-civilians/?utm_source=learn&utm_medium=internal&utm_campaign=learn">Understand <code>Cache-Control</code></a>
<li><a href="/2023/07/core-web-vitals-for-search-engine-optimisation/?utm_source=learn&utm_medium=internal&utm_campaign=learn">Core Web Vitals and SEO</a>
<li><a href="/2018/11/css-and-network-performance/?utm_source=learn&utm_medium=internal&utm_campaign=learn">CSS Performance</a>
<li><a href="/2023/07/in-defence-of-domcontentloaded/?utm_source=learn&utm_medium=internal&utm_campaign=learn">Does <code>DOMContentLoaded</code> Still Matter?</a>
<li><a href="/2021/02/measuring-network-performance-in-mobile-safari/?utm_source=learn&utm_medium=internal&utm_campaign=learn">Improve Web Performance on iOS</a>
<li><a href="/2024/09/optimising-for-high-latency-environments/?utm_source=learn&utm_medium=internal&utm_campaign=learn">Optimise for High Latency</a>
<li><a href="/2022/03/optimising-largest-contentful-paint/?utm_source=learn&utm_medium=internal&utm_campaign=learn">Optimise Largest Contentful Paint</a>
<li><a href="/2020/05/the-fastest-google-fonts/?utm_source=learn&utm_medium=internal&utm_campaign=learn">Speed Up Google Fonts</a>
<li><a href="/2023/10/the-three-c-concatenate-compress-cache/?utm_source=learn&utm_medium=internal&utm_campaign=learn">Can We Drop Our Build Tools Yet?</a>
<li><a href="/2023/09/the-ultimate-lqip-lcp-technique/?utm_source=learn&utm_medium=internal&utm_campaign=learn">Get the Fastest Possible LCP</a>
<li><a href="/2019/08/time-to-first-byte-what-it-is-and-why-it-matters/?utm_source=learn&utm_medium=internal&utm_campaign=learn">Diagnose Time to First Byte</a>
<li><a href="/2023/10/what-is-the-maximum-max-age/?utm_source=learn&utm_medium=internal&utm_campaign=learn">What Is the Maximum <code>max-age</code> Value?</a>
<li><a href="/2019/03/cache-control-for-civilians/">Understand <code>Cache-Control</code></a>
<li><a href="/2023/07/core-web-vitals-for-search-engine-optimisation/">Core Web Vitals and SEO</a>
<li><a href="/2018/11/css-and-network-performance/">CSS Performance</a>
<li><a href="/2023/07/in-defence-of-domcontentloaded/">Does <code>DOMContentLoaded</code> Still Matter?</a>
<li><a href="/2021/02/measuring-network-performance-in-mobile-safari/">Improve Web Performance on iOS</a>
<li><a href="/2024/09/optimising-for-high-latency-environments/">Optimise for High Latency</a>
<li><a href="/2022/03/optimising-largest-contentful-paint/">Optimise Largest Contentful Paint</a>
<li><a href="/2020/05/the-fastest-google-fonts/">Speed Up Google Fonts</a>
<li><a href="/2023/10/the-three-c-concatenate-compress-cache/">Can We Drop Our Build Tools Yet?</a>
<li><a href="/2023/09/the-ultimate-lqip-lcp-technique/">Get the Fastest Possible LCP</a>
<li><a href="/2019/08/time-to-first-byte-what-it-is-and-why-it-matters/">Diagnose Time to First Byte</a>
<li><a href="/2023/10/what-is-the-maximum-max-age/">What Is the Maximum <code>max-age</code> Value?</a>
</ul>

</div>
Expand Down Expand Up @@ -49,7 +49,7 @@ <h4 class=band__title>Learn:</h4>
<p>I specialise in large, product-based projects where performance, scalability, and maintainability are paramount.</p>
</div
><div class="layout__item lap-and-up-one-half">
<p><a href=/code-reviews/?utm_campaign=fix-it-fast&utm_source=footer&utm_medium=internal#fix-it-fast class="btn btn--secondary btn--full" data-sctrack=cta-footer>{% include cta.md %}</a></p>
<p><a href=/code-reviews/#fix-it-fast class="btn btn--secondary btn--full" data-sctrack=cta-footer>{% include cta.md %}</a></p>
</div>
</div>

Expand Down
11 changes: 6 additions & 5 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
<li class="site-nav__item has-sub-menu">
<a href=/services/ class="site-nav__link site-nav__services">Services</a>
<ul class="site-nav__sub-menu">
<li class=site-nav__item><a href=/sentinel/ class="site-nav__sub-link site-nav__sentinel">Sentinel <sup style="text-transform: uppercase; font-size: 0.625rem; line-height: 1.2; color: #f43059;"><strong>New</strong></sup></a></li>
<li class=site-nav__item><a href=/workshops/ class="site-nav__sub-link site-nav__workshops">Workshops and Training</a></li>
<li class=site-nav__item><a href=/consultancy/ class="site-nav__sub-link site-nav__consultancy">Consultancy</a></li>
<li class=site-nav__item><a href=/code-reviews/ class="site-nav__sub-link site-nav__code-reviews">Performance Audits</a></li>
<li class=site-nav__item><a href=/downloads/ class="site-nav__sub-link site-nav__downloads">Downloads</a></li>
<li class=site-nav__item><a href=/masterclasses/ class="site-nav__sub-link site-nav__masterclasses">Masterclasses <sup style="text-transform: uppercase; font-size: 0.625rem; line-height: 1.2; color: #f43059;"><strong>New</strong></sup></a></li>
<li class=site-nav__item><a href=/sentinel/ class="site-nav__sub-link site-nav__sentinel">Sentinel</a></li>
<li class=site-nav__item><a href=/workshops/ class="site-nav__sub-link site-nav__workshops">Workshops and Training</a></li>
<li class=site-nav__item><a href=/consultancy/ class="site-nav__sub-link site-nav__consultancy">Consultancy</a></li>
<li class=site-nav__item><a href=/code-reviews/ class="site-nav__sub-link site-nav__code-reviews">Performance Audits</a></li>
<li class=site-nav__item><a href=/downloads/ class="site-nav__sub-link site-nav__downloads">Downloads</a></li>
</ul>
</li>

Expand Down
4 changes: 2 additions & 2 deletions _includes/promo-home.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ <h2 class=heading>Training</h2>

<li class=layout__item>
<p class=promo__links>
<a href=/services/?utm_source=cta-promo-home class="btn btn--secondary">Learn more <span class=hide>about my services</span></a>
<a href=/services/ class="btn btn--secondary">Learn more <span class=hide>about my services</span></a>
<span class=promo__links-spacer>or</span>
<a href=/contact/?utm_source=cta-promo-home class=btn>Hire me</a>
<a href=/contact/ class=btn>Hire me</a>
</p>

</ul>
Expand Down
2 changes: 1 addition & 1 deletion _includes/promo.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<article class="[ box box--highlight ] [ flag flag--responsive ] mb" data-ui-component="Cross-sell promo">
<div class="flag__img"><a href="/contact/?utm_campaign=cta-article-promo" class="btn btn--full">Get in touch</a></div>
<div class="flag__img"><a href="/contact/" class="btn btn--full">Get in touch</a></div>
<div class="flag__body">
<span class="heading mb0">Need Some Help?</span>
<p>I help companies find and fix site-speed issues. <b>Performance audits</b>, <b>training</b>, <b>consultancy</b>, and more.</p>
Expand Down
2 changes: 1 addition & 1 deletion _includes/ribbon.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<section class="c-highlight c-highlight--small c-highlight--ribbon">
<a href="/sentinel/?utm_source=ribbon&utm_medium=internal&utm_campaign=sentinel">Sentinel: Your Web-Performance Watchman</a>
<a href="/consultancy/#consultations">Book a Consultation</a>
</section>
8 changes: 4 additions & 4 deletions _includes/sub-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
href=https://web.archive.org/web/20190630140300/https://thenetawards.com/previous-winners/>award-winning</a>
Consultant Web Performance Engineer</b>, <b>designer</b>, <b>developer</b>,
<b>writer</b>, and <b>speaker</b> from the UK. I <b><a
href=/archive/?utm_source=sidebar&utm_medium=internal>write</a></b>, <b><a
href=/archive/>write</a></b>, <b><a
href=https://twitter.com/csswizardry>Tweet</a></b>, <b><a
href=/speaking/?utm_source=sidebar&utm_medium=internal>speak</a></b>, and <b><a
href=/speaking/>speak</a></b>, and <b><a
href=http://github.com/csswizardry>share code</a></b> about measuring and
improving site-speed. You <a href=/services/?utm_source=sidebar&utm_medium=internal>should hire me</a>.</p>
improving site-speed. You <a href=/services/>should hire me</a>.</p>

<p><a href=https://twitter.com/csswizardry class=twitter-follow-button data-show-count=true data-lang=en>Follow @csswizardry</a></p>

Expand All @@ -33,7 +33,7 @@
<hr>

<p class=text-banner>
<a href=/code-reviews/?utm_source=sidebar&utm_medium=internal#fix-it-fast class="btn btn--full btn--positive" id=cta data-sctrack=cta-sidebar elementtiming=cta-sidebar>{% include cta.md %}</a>
<a href=/code-reviews/#fix-it-fast class="btn btn--full btn--positive" id=cta data-sctrack=cta-sidebar elementtiming=cta-sidebar>{% include cta.md %}</a>
</p>

<script>
Expand Down
10 changes: 5 additions & 5 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ <h5 class=mb0 style="font-weight: bold;">By Harry Roberts</h5>
"source": "list",
"urls": [
{% if page.next.url %}
"{{ page.next.url }}?utm_source=pagination&utm_medium=internal",
"{{ page.next.url }}",
{% endif %}
{% if page.previous.url %}
"{{ page.previous.url }}?utm_source=pagination&utm_medium=internal"
"{{ page.previous.url }}"
{% endif %}
]
}
Expand All @@ -175,10 +175,10 @@ <h5 class=mb0 style="font-weight: bold;">By Harry Roberts</h5>

<nav class=c-pagination>
{% if page.previous.url %}
<a href="{{ page.previous.url }}?utm_source=pagination&utm_medium=internal" class="c-pagination__item c-pagination__prev" style="view-transition-name: x-{{ page.previous.date | date: '%Y-%m-%d' }}" id=articleOlder>{{page.previous.title}}</a>
<a href="{{ page.previous.url }}" class="c-pagination__item c-pagination__prev" style="view-transition-name: x-{{ page.previous.date | date: '%Y-%m-%d' }}" id=articleOlder>{{page.previous.title}}</a>
{% endif %}
{% if page.next.url %}
<a href="{{ page.next.url }}?utm_source=pagination&utm_medium=internal" class="c-pagination__item c-pagination__next" style="view-transition-name: x-{{ page.next.date | date: '%Y-%m-%d' }}" id=articleNewer>{{page.next.title}}</a>
<a href="{{ page.next.url }}" class="c-pagination__item c-pagination__next" style="view-transition-name: x-{{ page.next.date | date: '%Y-%m-%d' }}" id=articleNewer>{{page.next.title}}</a>
{% endif %}
</nav>

Expand Down Expand Up @@ -214,7 +214,7 @@ <h5 class=mb0 style="font-weight: bold;">By Harry Roberts</h5>
<hr />

<p>
<a href=/code-reviews/?utm_source=post-footer&utm_medium=internal&utm_campaign=fix-it-fast#fix-it-fast class="btn btn--full">Did this help? <strong>We can do way more!</strong></a>
<a href=/code-reviews/#fix-it-fast class="btn btn--full">Did this help? <strong>We can do way more!</strong></a>
</p>
{% endif %}

Expand Down

0 comments on commit fa6759e

Please sign in to comment.