Skip to content

Commit

Permalink
Try to use sensible utm parameters for email
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Nov 21, 2024
1 parent 8c66d45 commit 7ad76a3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions app/views/alert_mailer/alert.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,12 @@
<p>
The service
is run by the independent charity
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=pa" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline">
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=footer&utm_campaign=pa" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline">
OpenAustralia Foundation
</a>.
</p>
<p>
<a href="<%= documentation_contact_url %>" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline;">
<a href="<%= documentation_contact_url(utm_medium: 'email', utm_source: 'footer') %>" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline;">
Contact us
</a>
if you have questions.
Expand Down
4 changes: 2 additions & 2 deletions app/views/devise/mailer/confirmation_instructions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@
<p>
The service
is run by the independent charity
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=pa" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline">
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=footer&utm_campaign=pa" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline">
OpenAustralia Foundation
</a>.
</p>
<p>
<a href="<%= documentation_contact_url %>" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline;">
<a href="<%= documentation_contact_url(utm_medium: 'email', utm_source: 'footer') %>" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline;">
Contact us
</a>
if you have questions.
Expand Down
4 changes: 2 additions & 2 deletions app/views/devise/mailer/reset_password_instructions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@
<p>
The service
is run by the independent charity
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=pa" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline">
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=footer&utm_campaign=pa" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline">
OpenAustralia Foundation
</a>.
</p>
<p>
<a href="<%= documentation_contact_url %>" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline;">
<a href="<%= documentation_contact_url(utm_medium: 'email', utm_source: 'footer') %>" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline;">
Contact us
</a>
if you have questions.
Expand Down
4 changes: 2 additions & 2 deletions app/views/devise/mailer/unlock_instructions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@
<p>
The service
is run by the independent charity
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=pa" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline">
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=footer&utm_campaign=pa" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline">
OpenAustralia Foundation
</a>.
</p>
<p>
<a href="<%= documentation_contact_url %>" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline;">
<a href="<%= documentation_contact_url(utm_medium: 'email', utm_source: 'footer') %>" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline;">
Contact us
</a>
if you have questions.
Expand Down
4 changes: 2 additions & 2 deletions app/views/users/activation_mailer/notify.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@
<p>
The service
is run by the independent charity
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=pa" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline">
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=footer&utm_campaign=pa" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline">
OpenAustralia Foundation
</a>.
</p>
<p>
<a href="<%= documentation_contact_url %>" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline;">
<a href="<%= documentation_contact_url(utm_medium: 'email', utm_source: 'footer') %>" class="hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94; text-decoration-line: underline;">
Contact us
</a>
if you have questions.
Expand Down
4 changes: 2 additions & 2 deletions maizzle/src/components/footer-text.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<p>
The service
is run by the independent charity
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=pa" class="font-bold underline text-fuchsia hover:text-fuchsia-darker focus:bg-sun-yellow">
<a href="https://www.oaf.org.au?utm_medium=email&utm_source=footer&utm_campaign=pa" class="font-bold underline text-fuchsia hover:text-fuchsia-darker focus:bg-sun-yellow">
OpenAustralia Foundation
</a>.
</p>
<p>
<a href="<%= documentation_contact_url %>" class="font-bold underline text-fuchsia hover:text-fuchsia-darker focus:bg-sun-yellow">
<a href="<%= documentation_contact_url(utm_medium: 'email', utm_source: 'footer') %>" class="font-bold underline text-fuchsia hover:text-fuchsia-darker focus:bg-sun-yellow">
Contact us
</a>
if you have questions.
Expand Down

0 comments on commit 7ad76a3

Please sign in to comment.