Skip to content

Commit

Permalink
Add new A/B test for header CTA
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap committed Nov 21, 2019
1 parent f07f050 commit 83516d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/partials/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<nav class="Nxd-header__nav">
<a class="Nxd-main-header__link Vlt-M-plus" href="https://nexmo.com">Nexmo.com</a>
<a href="https://dashboard.nexmo.com/sign-up" class="Vlt-btn Vlt-btn--primary" data-ab="try_button"><b>
<% ab_test(:try_button, t('.try-it'), "< #{t('.try-it')} />", t('.get_an_api_key'), t('.start_building')) do |s| %>
<% ab_test(:try_button_v2, "< #{t('.try-it')} />", "{ #{t('.try-it')} }", "< #{t('.get_an_api_key')} />", "< #{t('.start_building')} />") do |s| %>
<%= s %>
<% end %>
</b></a>
Expand Down

0 comments on commit 83516d4

Please sign in to comment.