Skip to content

Commit

Permalink
updated ga key
Browse files Browse the repository at this point in the history
  • Loading branch information
naveed-ahmad committed Apr 3, 2022
1 parent 650607a commit f49ee0e
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 14 deletions.
3 changes: 1 addition & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
<main>
<%#= render 'shared/alerts/notification' %>
<%#= render 'shared/alerts/jobs' %>
<%= render 'shared/alerts/new_site_notification' %>

<%#= render 'shared/alerts/new_site_notification' %>
<%= yield %>
</main>

Expand Down
4 changes: 1 addition & 3 deletions app/views/pages/donations.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@
feedback. For those looking to make a stronger impact, support us by
contributing any monetary amount.
</p>
<% if false %>
<div class="content-page__center">
<a
href="https://quranfund.com/"
href="https://donate.quran.com/"
target="_blank"
class="btn btn-primary btn--large"
data-controller="track"
Expand All @@ -51,6 +50,5 @@
Become a Donor
</a>
</div>
<% end %>
</div>
</div>
2 changes: 1 addition & 1 deletion app/views/popups/_donation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
data-category="learn-more-popup"
target="_blank"
rel="noreferrer noopener"
href="https://quranfund.com">
href="https://donate.quran.com/">
Learn more
</a>

Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</div>
<div>
<h5><%= _t('nav.other_links') %></h5>
<a href="https://quranfund.com/" target="_blank">Donate</a>
<a href="https://donate.quran.com/" target="_blank">Donate</a>
<a href="https://quran.com/sitemap.xml.gz" target="_blank">Sitemap</a>
<a href="/surah-ya-sin">Surah Yaseen (يس)</a>
<a href="/ayatul-kursi">Ayat Al-Kursi (آية الكرسي)</a>
Expand Down
6 changes: 3 additions & 3 deletions app/views/shared/_meta_tags.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@
<meta name="revisit-after" content="30 days">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-8496014-1"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SP3RZPFTS3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-8496014-1');
gtag('config', 'G-SP3RZPFTS3');
document.addEventListener('turbolinks:load', function (event) {
if (typeof gtag === 'function') {
gtag('config', 'UA-8496014-1', {
gtag('config', 'G-SP3RZPFTS3', {
'page_location': event.data.url
});
}
Expand Down
4 changes: 2 additions & 2 deletions app/views/shared/alerts/_notification.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
data-name="donation"
data-action="learn-more-notification"
target="_blank"
href="https://quranfund.com/">
href="https://donate.quran.com/">
Learn more
</a>

Expand Down Expand Up @@ -76,7 +76,7 @@
data-controller="track"
data-name="donation"
data-action="learn-more-notification"
href="https://quranfund.com">
href="https://donate.quran.com/">
Learn more
</a>

Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/alerts/_popup.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<div class="modal-footer" style="background: #F2F2F2;">
<a class="btn btn--lightgrey text--green"
href="https://quranfund.com"
href="https://donate.quran.com/"
target="_blank" rel="noreferrer noopener">
Learn more
</a>
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/alerts/_sidebar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
data-category="learn-more-sidebar"
target="_blank"
rel="noreferrer noopener"
href="https://quranfund.com">
href="https://donate.quran.com/">
Learn more
</a>

Expand Down

0 comments on commit f49ee0e

Please sign in to comment.