Remove Google Analytics events

parent 50d934f8
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
%div.site-wrap %div.site-wrap
%header.site-header(role='banner') %header.site-header(role='banner')
= link_to messages_path, class: 'logo-vuash', onclick: "_gs('event', 'Clicked Logo link')" do = link_to messages_path, class: 'logo-vuash' do
%svg(height='30px' viewBox='0 0 106 97') %svg(height='30px' viewBox='0 0 106 97')
%title= t('logo-title') %title= t('logo-title')
%path(id='vuash-mark' fill='#4a90e2' d='M2.99760217e-15,3.99306484 C2.77555756e-15,0.687680951 2.43876573,-0.874545286 5.44713571,0.51377346 L102.89866,43.4862265 C105.905166,44.873685 105.90703,51.1254547 102.89866,52.5137735 L5.44713571,95.4862265 C2.44062987,96.873685 9.88098492e-15,95.3168135 9.65894032e-15,92.0069352 L7.23556427e-15,61.818444 C7.10237572e-15,60.1592869 1.3243002,58.565268 2.94293644,58.2609181 L39.802494,51.3302669 C44,50.9999999 44,44.9999999 39.802494,44.6704158 L2.94293644,37.7397646 C1.31759752,37.4341544 1.21222207e-16,35.8440787 2.71304116e-16,34.1821769 L2.99760217e-15,3.99306484 Z') %path(id='vuash-mark' fill='#4a90e2' d='M2.99760217e-15,3.99306484 C2.77555756e-15,0.687680951 2.43876573,-0.874545286 5.44713571,0.51377346 L102.89866,43.4862265 C105.905166,44.873685 105.90703,51.1254547 102.89866,52.5137735 L5.44713571,95.4862265 C2.44062987,96.873685 9.88098492e-15,95.3168135 9.65894032e-15,92.0069352 L7.23556427e-15,61.818444 C7.10237572e-15,60.1592869 1.3243002,58.565268 2.94293644,58.2609181 L39.802494,51.3302669 C44,50.9999999 44,44.9999999 39.802494,44.6704158 L2.94293644,37.7397646 C1.31759752,37.4341544 1.21222207e-16,35.8440787 2.71304116e-16,34.1821769 L2.99760217e-15,3.99306484 Z')
...@@ -62,18 +62,18 @@ ...@@ -62,18 +62,18 @@
= t('footer.features.safety.text') = t('footer.features.safety.text')
-# TODO: Link to article/wiki about security -# TODO: Link to article/wiki about security
%br %br
%a(href="#{t('footer.features.safety.link-href')}" target='_blank' onclick="_gs('event', 'Clicked Safety link')")= t('footer.features.safety.link-text_html') %a(href="#{t('footer.features.safety.link-href')}" target='_blank')= t('footer.features.safety.link-text_html')
%li %li
%h2= t('footer.features.open-source.title') %h2= t('footer.features.open-source.title')
%p %p
= t('footer.features.open-source.text') = t('footer.features.open-source.text')
%br %br
%a(href="#{t('footer.features.open-source.link-href')}" target='_blank' onclick="_gs('event', 'Clicked Open Source link')")= t('footer.features.open-source.link-text_html') %a(href="#{t('footer.features.open-source.link-href')}" target='_blank')= t('footer.features.open-source.link-text_html')
%li %li
%h2= t('footer.features.donations.title') %h2= t('footer.features.donations.title')
%p %p
= t('footer.features.donations.text') = t('footer.features.donations.text')
%br %br
%a(href="#{t('footer.features.donations.link-href')}" target='_blank' onclick="_gs('event', 'Clicked Donation link')")= t('footer.features.donations.link-text_html') %a(href="#{t('footer.features.donations.link-href')}" target='_blank')= t('footer.features.donations.link-text_html')
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%title= t('cta.icon-title') %title= t('cta.icon-title')
%path(id='icon-lock' fill='#fff' fill-rule='evenodd' d="M4,7 L4,4 C4,2.34314575 5.33902013,1 7.00166547,1 L8.99833453,1 C10.6561086,1 12,2.34651712 12,4 L12,7 L13,7 L13,15 L3,15 L3,7 L4,7 Z M7.0093689,3 L8.9906311,3 C9.54809015,3 10,3.44266033 10,3.99895656 L10,7 L6,7 L6,3.99895656 C6,3.44724809 6.44335318,3 7.0093689,3 Z M7,10.0093689 C7,9.45190985 7.44386482,9 8,9 C8.55228475,9 9,9.44335318 9,10.0093689 L9,13 L7,13 L7,10.0093689 Z") %path(id='icon-lock' fill='#fff' fill-rule='evenodd' d="M4,7 L4,4 C4,2.34314575 5.33902013,1 7.00166547,1 L8.99833453,1 C10.6561086,1 12,2.34651712 12,4 L12,7 L13,7 L13,15 L3,15 L3,7 L4,7 Z M7.0093689,3 L8.9906311,3 C9.54809015,3 10,3.44266033 10,3.99895656 L10,7 L6,7 L6,3.99895656 C6,3.44724809 6.44335318,3 7.0093689,3 Z M7,10.0093689 C7,9.45190985 7.44386482,9 8,9 C8.55228475,9 9,9.44335318 9,10.0093689 L9,13 L7,13 L7,10.0093689 Z")
= t('cta.text') = t('cta.text')
= link_to t('cta.link-text'), messages_path, onclick: "_gs('event', 'Clicked CTA link at message page')" = link_to t('cta.link-text'), messages_path
:coffee :coffee
$(document).trigger('decrypt', '#{@message.data}') $(document).trigger('decrypt', '#{@message.data}')
...@@ -8,4 +8,4 @@ ...@@ -8,4 +8,4 @@
%title= t('cta.icon-title') %title= t('cta.icon-title')
%path(id='icon-lock' fill='#fff' fill-rule='evenodd' d="M4,7 L4,4 C4,2.34314575 5.33902013,1 7.00166547,1 L8.99833453,1 C10.6561086,1 12,2.34651712 12,4 L12,7 L13,7 L13,15 L3,15 L3,7 L4,7 Z M7.0093689,3 L8.9906311,3 C9.54809015,3 10,3.44266033 10,3.99895656 L10,7 L6,7 L6,3.99895656 C6,3.44724809 6.44335318,3 7.0093689,3 Z M7,10.0093689 C7,9.45190985 7.44386482,9 8,9 C8.55228475,9 9,9.44335318 9,10.0093689 L9,13 L7,13 L7,10.0093689 Z") %path(id='icon-lock' fill='#fff' fill-rule='evenodd' d="M4,7 L4,4 C4,2.34314575 5.33902013,1 7.00166547,1 L8.99833453,1 C10.6561086,1 12,2.34651712 12,4 L12,7 L13,7 L13,15 L3,15 L3,7 L4,7 Z M7.0093689,3 L8.9906311,3 C9.54809015,3 10,3.44266033 10,3.99895656 L10,7 L6,7 L6,3.99895656 C6,3.44724809 6.44335318,3 7.0093689,3 Z M7,10.0093689 C7,9.45190985 7.44386482,9 8,9 C8.55228475,9 9,9.44335318 9,10.0093689 L9,13 L7,13 L7,10.0093689 Z")
= t('cta.text') = t('cta.text')
= link_to t('cta.link-text'), messages_path, onclick: "_gs('event', 'Clicked CTA link at missing page')" = link_to t('cta.link-text'), messages_path
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
%h1= t('open-message.title') %h1= t('open-message.title')
%p= t('open-message.text_html') %p= t('open-message.text_html')
= form_for @message, method: 'delete' do |f| = form_for @message, method: 'delete' do |f|
= f.submit t('open-message.button-text'), class: 'bt-blue', onclick: "_gs('event', 'Clicked Read Message link')" = f.submit t('open-message.button-text'), class: 'bt-blue'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment