Skip to content
Permalink
Browse files

Remove utm params from donate links (#3786)

* remove utm params from all donate links

* remove external glyph
  • Loading branch information
Youri
Youri committed Oct 16, 2019
1 parent d74c4a3 commit 15717fddbd56eb8570122fde1ae826004fce75ef
@@ -74,7 +74,7 @@
</div>
<div class="donate-btn-wrapper">
<a id="donate-header-btn" class="btn btn-pop"
href="https://donate.mozilla.org/?utm_source=foundation.mozilla.org&amp;utm_medium=referral&amp;utm_content=header"
href="https://donate.mozilla.org/"
target="_blank" rel="noopener noreferrer">Donate</a>
</div>
</div>
@@ -106,7 +106,7 @@ <h2 class="h3-header">We Are Undergoing Maintenance</h1>
<h3 class="h3-heading mb-0">We all love the Web. Join Mozilla in defending it.</h3>
<h4 class="h3-heading mb-4">Let’s protect the world’s largest resource for future generations.</h4>
<div>
<a href="https://donate.mozilla.org?utm_source=foundation.mozilla.org&amp;utm_medium=referral&amp;utm_content=footer-cta" target="_blank" rel="noopener noreferrer" c class="btn btn-secondary dark-theme">Donate now</a>
<a href="https://donate.mozilla.org/" target="_blank" rel="noopener noreferrer" c class="btn btn-secondary dark-theme">Donate now</a>
</div>
</div>
</div>
@@ -133,7 +133,7 @@ <h5 class="h5-heading">More about us</h5>
</div>
<div class="col-lg-8">
<ul class="link-list list-unstyled mb-0">
<li class="mb-2"><a id="donate-footer-btn" href="https://donate.mozilla.org/?utm_source=foundation.mozilla.org&utm_medium=referral&utm_content=footer" target="_blank" rel="noopener noreferrer" class="dark-theme">Donate</a></li>
<li class="mb-2"><a id="donate-footer-btn" href="https://donate.mozilla.org/" target="_blank" rel="noopener noreferrer" class="dark-theme">Donate</a></li>
<li class="mb-2"><a href="https://www.mozilla.org/about/legal/terms/mozilla/" class="dark-theme">Legal</a></li>
<li class="mb-2"><a href="https://creativecommons.org/licenses/by/4.0" class="dark-theme">License</a></li>
<li class="mb-2"><a href="https://www.mozilla.org/about/governance/policies/participation/" class="dark-theme">Participation Guidelines</a></li>
@@ -12,7 +12,7 @@
<div class="col">
<h3 class="h2-heading">Help us keep the Internet healthy</h3>
<p>Mozilla is a nonprofit organization fighting for a healthy interent.</p>
<a class="btn btn-donate m-0 w-100" id="donate-button" href="https://donate.mozilla.org/?utm_source=foundation.mozilla.org&utm_medium=buyersguide&utm_campaign=buyersguide2018&utm_content=headerbutton">Donate</a>
<a class="btn btn-donate m-0 w-100" id="donate-button" href="https://donate.mozilla.org/">Donate</a>
</div>
</div>
</div>
@@ -11,7 +11,7 @@
<a class="social-button social-button-fb hidden-sm-down" id="nav-social-button-fb" href="{{facebook_share_link}}"><span class="sr-only">Facebook</span></a>
<a class="social-button social-button-twitter hidden-sm-down" id="nav-social-button-twitter" href="{{twitter_share_link}}{{share_text|urlencode}}" target="_blank"><span class="sr-only">Twitter</span></a>
<a class="social-button social-button-email hidden-sm-down" id="nav-social-button-email" href="{{email_share_link}}{{share_text|urlencode}}"><span class="sr-only">Email</span></a>
<a class="d-none d-sm-block btn btn-donate ml-3 mr-0 hidden-sm-down" id="donate-button-main" href="https://donate.mozilla.org/?utm_source=foundation.mozilla.org&utm_medium=buyersguide&utm_campaign=buyersguide2018&utm_content=headerbutton">Donate</a>
<a class="d-none d-sm-block btn btn-donate ml-3 mr-0 hidden-sm-down" id="donate-button-main" href="https://donate.mozilla.org/">Donate</a>
<button class="burger btn btn-link p-0 ml-4 hidden-md-up">
<span class="sr-only">Share</span>
</button>
@@ -28,7 +28,7 @@
{% endblock %}

{% block general_links %}
<li><a id="donate-footer-btn" href="https://donate.mozilla.org/?utm_source=mozillafestival.org&utm_medium=referral&utm_content=footer" target="_blank" rel="noopener noreferrer" class="dark-theme">Donate</a></li>
<li><a id="donate-footer-btn" href="https://donate.mozilla.org/" target="_blank" rel="noopener noreferrer" class="dark-theme">Donate</a></li>
<li><a href="https://www.mozilla.org/about/legal/terms/mozilla/" class="dark-theme">Legal</a></li>
<li><a href="https://creativecommons.org/licenses/by/4.0" class="dark-theme">License</a></li>
<li><a href="/guidelines" class="dark-theme">Participation Guidelines</a></li>
@@ -11,7 +11,7 @@
<h3 class="h3-heading mb-0">We all love the Web. Join Mozilla in defending it.</h3>
<h4 class="h3-heading mb-4">Let’s protect the world’s largest resource for future generations.</h4>
<div>
<a href="https://donate.mozilla.org?utm_source=foundation.mozilla.org&amp;utm_medium=referral&amp;utm_content=footer-cta" target="_blank" rel="noopener noreferrer" class="btn btn-secondary dark-theme">Donate now</a>
<a href="https://donate.mozilla.org/" target="_blank" rel="noopener noreferrer" class="btn btn-secondary dark-theme">Donate now</a>
</div>
</div>
</div>
@@ -47,7 +47,7 @@ <h5 class="h5-heading">More about us</h5>
<div class="col-lg-6 col-xl-7">
<ul class="link-list list-unstyled mb-0">
{% block general_links %}
<li><a id="donate-footer-btn" href="https://donate.mozilla.org/?utm_source=foundation.mozilla.org&utm_medium=referral&utm_content=footer" target="_blank" rel="noopener noreferrer" class="dark-theme">Donate</a></li>
<li><a id="donate-footer-btn" href="https://donate.mozilla.org/" target="_blank" rel="noopener noreferrer" class="dark-theme">Donate</a></li>
<li><a href="https://www.mozilla.org/about/legal/terms/mozilla/" class="dark-theme">Legal</a></li>
<li><a href="https://creativecommons.org/licenses/by/4.0" class="dark-theme">License</a></li>
<li><a href="https://www.mozilla.org/about/governance/policies/participation/" class="dark-theme">Participation Guidelines</a></li>
@@ -50,7 +50,7 @@
</div>
</div>
<div class="d-flex align-items-center">
<a id="donate-header-btn" class="heart-glyph mr-md-3" href="https://donate.mozilla.org?utm_source=foundation.mozilla.org&utm_medium=referral&utm_content=header" target="_blank" rel="noopener noreferrer">Donate</a>
<a id="donate-header-btn" class="heart-glyph mr-md-3" href="https://donate.mozilla.org/" target="_blank" rel="noopener noreferrer">Donate</a>
<button class="btn btn-secondary btn-newsletter hidden-md-down">Newsletter</button>
</div>
</div>
@@ -106,7 +106,7 @@
}

// append external link glyph
.btn-secondary[href*="//"]:not([href*="foundation.mozilla.org"]):not(.btn-share) {
.btn-secondary[href*="//"]:not([href*="foundation.mozilla.org"]):not([href*="donate.mozilla.org"]):not(.btn-share) {
display: inline-flex;
align-items: center;

0 comments on commit 15717fd

Please sign in to comment.
You can’t perform that action at this time.