Sha256: 3ae4c7787227b99599eebd67ffe354dcdd90c48fa456ffffbdf4c2232cfcc5bd

Contents?: true

Size: 802 Bytes

Versions: 7

Compression:

Stored size: 802 Bytes

Contents

<% if BiolaFrontendToolkit.config.ga_enabled %>
  <script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', '<%= BiolaFrontendToolkit.config.ga_account %>', '<%= BiolaFrontendToolkit.config.ga_domain %>', {'allowLinker': true });
    ga('require', 'linker');
    ga('linker:autoLink', ['biola.edu','talbot.edu','rosemead.edu','biola.ellucianrecruiter.com']);
    ga('require', 'displayfeatures'); // enable Display Features for re-marketing with AdWords
    ga('send', 'pageview');
  </script>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
biola_frontend_toolkit-0.6.4 app/views/frontend_toolkit/_google_analytics.html.erb
biola_frontend_toolkit-0.6.2 app/views/frontend_toolkit/_google_analytics.html.erb
biola_frontend_toolkit-0.6.1 app/views/frontend_toolkit/_google_analytics.html.erb
biola_frontend_toolkit-0.6.0 app/views/frontend_toolkit/_google_analytics.html.erb
biola_frontend_toolkit-0.5.7 app/views/frontend_toolkit/_google_analytics.html.erb
biola_frontend_toolkit-0.5.6 app/views/frontend_toolkit/_google_analytics.html.erb
biola_frontend_toolkit-0.5.5 app/views/frontend_toolkit/_google_analytics.html.erb