<!DOCTYPE html>
<html lang="en">
  <body>
    <%= render 'shared/analytics', ua: Cartodb.config[:google_analytics]["embeds"] %>
  </body>
</html>

<!DOCTYPE html>
<html lang="en">
  <body>
    <%= render partial: 'shared/analytics', locals: { 
      ua:     Cartodb.config[:google_analytics]['embeds'],
      domain: Cartodb.config[:google_analytics]['domain']
    } %>
</html>

Fix google analytics in visualization track_embed
Fix google analytics in visualization track_embed
