diff --git a/bedrock/mozorg/templates/mozorg/contribute/contribute-base.html b/bedrock/mozorg/templates/mozorg/contribute/contribute-base.html index 16800e06411..08f61692eb8 100644 --- a/bedrock/mozorg/templates/mozorg/contribute/contribute-base.html +++ b/bedrock/mozorg/templates/mozorg/contribute/contribute-base.html @@ -35,20 +35,20 @@ @@ -116,13 +116,13 @@

{% block contrib_page_title %}{% endblock %}

{% set upcoming_event = next_event() %} {% if upcoming_event %}

{{ _('Upcoming event') }}

- +

{{ upcoming_event.title|safe }}

{{ upcoming_event.location|safe }}

{% endif %} -

{{ _('See all events') }}

+

{{ _('See all events') }}

-

{{ _('Get Involved') }}

+

{{ _('Get Involved') }}

@@ -90,17 +90,17 @@

{{ _('How Mozillians help every day') }}

  • Rubén

    {{ _('Spain · Activism') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • Faye

    {{ _('Philippines · Activism') }}

    - {{ _('Read her story') }} + {{ _('Read her story') }}
  • Michael

    {{ _('Switzerland · Coding') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • @@ -114,7 +114,7 @@

    {{ _('Want to get involved? Here’s how.') }}

  • {{ _('Stand by for an email that will connect you to the Mozilla community') }}
  • {{ _('Create your Mozillians account and share your contributions with the world') }}
  • -

    {{ _('Get started') }}

    +

    {{ _('Get started') }}

    @@ -124,26 +124,26 @@

    {{ _('Not ready to dive in just yet?') }}

    {{ _('Here are a few other ways you can support Mozilla right now.') }}

    diff --git a/bedrock/mozorg/templates/mozorg/contribute/stories.html b/bedrock/mozorg/templates/mozorg/contribute/stories.html index 7e8ee8e3e81..f27596c3aaa 100644 --- a/bedrock/mozorg/templates/mozorg/contribute/stories.html +++ b/bedrock/mozorg/templates/mozorg/contribute/stories.html @@ -37,9 +37,9 @@

    {{ _('I’m currently helping with:') }}

    {% endblock %} @@ -48,17 +48,17 @@

    {{ _('I’m currently helping with:') }}

  • Shreyas

    {{ _('India · Teaching') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • Faye

    {{ _('Philippines · Activism') }}

    - {{ _('Read her story') }} + {{ _('Read her story') }}
  • Michael

    {{ _('Switzerland · Coding') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • {% endblock %} diff --git a/bedrock/mozorg/templates/mozorg/contribute/story-faye.html b/bedrock/mozorg/templates/mozorg/contribute/story-faye.html index 149e08e9fb6..007a82d4fa1 100644 --- a/bedrock/mozorg/templates/mozorg/contribute/story-faye.html +++ b/bedrock/mozorg/templates/mozorg/contribute/story-faye.html @@ -36,9 +36,9 @@

    {{ _('I’m currently helping with:') }}

    @@ -66,17 +66,17 @@

    {{ _('I’m currently helping with:') }}

  • Rubén

    {{ _('Spain · Activism') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • Shreyas

    {{ _('India · Teaching') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • Michael

    {{ _('Switzerland · Coding') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • {% endblock %} diff --git a/bedrock/mozorg/templates/mozorg/contribute/story-michael.html b/bedrock/mozorg/templates/mozorg/contribute/story-michael.html index 53ee0665852..b6ce6dc1cfb 100644 --- a/bedrock/mozorg/templates/mozorg/contribute/story-michael.html +++ b/bedrock/mozorg/templates/mozorg/contribute/story-michael.html @@ -36,8 +36,8 @@

    {{ _('I’m currently helping with:') }}

    @@ -65,17 +65,17 @@

    {{ _('I’m currently helping with:') }}

  • Faye

    {{ _('Philippines · Activism') }}

    - {{ _('Read her story') }} + {{ _('Read her story') }}
  • Shreyas

    {{ _('India · Teaching') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • Rubén

    {{ _('Spain · Activism') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • {% endblock %} diff --git a/bedrock/mozorg/templates/mozorg/contribute/story-ruben.html b/bedrock/mozorg/templates/mozorg/contribute/story-ruben.html index 216d17abb27..da53f802a25 100644 --- a/bedrock/mozorg/templates/mozorg/contribute/story-ruben.html +++ b/bedrock/mozorg/templates/mozorg/contribute/story-ruben.html @@ -37,9 +37,9 @@

    {{ _('I’m currently helping with:') }}

    {% endblock %} @@ -48,17 +48,17 @@

    {{ _('I’m currently helping with:') }}

  • Faye

    {{ _('Philippines · Activism') }}

    - {{ _('Read her story') }} + {{ _('Read her story') }}
  • Shreyas

    {{ _('India · Teaching') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • Michael

    {{ _('Switzerland · Coding') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • {% endblock %} diff --git a/bedrock/mozorg/templates/mozorg/contribute/story-shreyas.html b/bedrock/mozorg/templates/mozorg/contribute/story-shreyas.html index b9052fe3344..f54657d7d2c 100644 --- a/bedrock/mozorg/templates/mozorg/contribute/story-shreyas.html +++ b/bedrock/mozorg/templates/mozorg/contribute/story-shreyas.html @@ -37,9 +37,9 @@

    {{ _('I’m currently helping with:') }}

    @@ -66,17 +66,17 @@

    {{ _('I’m currently helping with:') }}

  • Faye

    {{ _('Philippines · Activism') }}

    - {{ _('Read her story') }} + {{ _('Read her story') }}
  • Rubén

    {{ _('Spain · Activism') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • Michael

    {{ _('Switzerland · Coding') }}

    - {{ _('Read his story') }} + {{ _('Read his story') }}
  • {% endblock %} diff --git a/media/js/mozorg/contribute/contribute-2015-ga.js b/media/js/mozorg/contribute/contribute-2015-ga.js index 060923e1657..c6277826883 100644 --- a/media/js/mozorg/contribute/contribute-2015-ga.js +++ b/media/js/mozorg/contribute/contribute-2015-ga.js @@ -7,9 +7,6 @@ $(function () { var $inquiryForm = $('#inquiry-form'); - // Track clicks in main navigation - $('#contribute-nav-menu li a').attr('data-element-location', 'nav'); - if ($('body').prop('id') === 'landing') { // Track user scrolling through each section on the landing page $('#landing .section').waypoint(function(direction) { @@ -22,19 +19,6 @@ $(function () { }); } }, { offset: '100%' }); - - // Track CTA clicks on landing - $('#landing .cta a').each(function() { - var $this = $(this); - var position = $this.data('position'); - var label = $this.data('label'); - - $this.attr({ - 'data-element-location': label, - 'data-element-action': position, - 'data-tracking-flag': 'contribute-landing' - }); - }); } // Track video plays @@ -47,85 +31,6 @@ $(function () { }); }); - // Track Mozillian story clicks on the landing page - $('.landing-stories .person .url').each(function() { - var person = $(this).parents('.person').find('.fn').text(); - - $(this).attr({ - 'data-element-location': person, - 'data-element-action': 'How Mozillians Help Every Day', - 'data-tracking-flag': 'contribute-landing' - }); - }); - - // Track Mozillian story clicks on story pages - $('.stories-other .person .url').each(function() { - var person = $(this).parents('.person').find('.fn').text(); - - $(this).attr({ - 'data-element-location': person, - 'data-element-action': 'Meet a few more Mozillians', - 'data-tracking-flag': 'mozillians' - }); - }); - - // Track Twitter hashtag clicks on story pages - $('.stories-other .section-tagline a').attr({ - 'data-element-action': 'twitter search link', - 'data-element-location': '#IAmAMozillian', - 'data-tracking-flag': 'mozillians' - }); - - // Track Mozillian personal links - $('.story-links a').each(function() { - var person = $('.story-title .name').text(); - var link = $(this).prop('class'); - - $(this).attr({ - 'data-element-location': person + ' - ' + link, - 'data-element-action': 'social button click', - 'data-tracking-flag': 'mozillians' - }); - }); - - // Track other actions on landing page - $('.landing-notready .other-actions a').attr('data-element-location', 'not ready'); - - // Track other actions on confirmation page - $('#thankyou .other-actions a').each(function() { - var $this = $(this); - - var label = $this.data('label'); - - $this.attr({ - 'data-element-location': 'Other Ways to Support Mozilla', - 'data-element-action': label, - 'data-tracking-flag': 'contribute-confirmation' - }); - }); - - // Track Mozillians signup CTA on confirmation page - $('.cta-mozillians a').attr({ - 'data-element-location': 'Mozillians CTA click', - 'data-element-action': 'Yes, Create My Mozillians Account', - 'data-tracking-flag': 'contribute-confirmation' - }); - - // Track event links in the list - $('.events-table .event-name a').attr('data-link-type', 'event'); - - // Track event links in the footer - $('.contrib-extra .event-link').attr('data-element-location', 'bottom'); - - // Track 'all events' link in the footer - $('.contrib-extra .events-all a').attr({ - 'data-element-location': 'bottom', - 'data-element-action': 'See All Events' - }); - - // Track external links in the footer - $('.extra-links a').attr('data-element-location', 'bottom'); - // Track category clicks on the signup page $('.option input').on('change', function() { var category = this.value;