Skip to content

Commit

Permalink
Remove conditional from A/B test meta tag
Browse files Browse the repository at this point in the history
This was only being output on the page when on the "B" side of the test; the meta tag should be added to the page for all sides of the test so it can be picked up by analytics and the browser extension.
  • Loading branch information
chao-xian committed Aug 9, 2021
1 parent eb153ba commit 259a510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta name="description" content="<%= strip_tags(@content_item.description) %>" />
<% end %>

<%= explore_menu_variant.analytics_meta_tag.html_safe if explore_menu_testable? %>
<%= explore_menu_variant.analytics_meta_tag.html_safe %>

<%= yield :extra_head_content %>
</head>
Expand Down

0 comments on commit 259a510

Please sign in to comment.