Skip to content

Commit a94af40

Browse files
committed
Fix reporting of ad method
1 parent 589c68e commit a94af40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/layouts/base.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
function gtag(){dataLayer.push(arguments);}
5757
gtag('js', new Date());
5858
gtag('config', '<%= gtm_id %>', {
59-
'ad_method': '<%= @ad_method&.tracking_key || ("_status_#{response.code}") if response.code != '200' %>',
59+
'ad_method': '<%= @ad_method&.tracking_key || ("_status_#{response.code}" if response.code != '200') %>',
6060
'action': '<%= j controller_name %>/<%= j action_name %>'
6161
});
6262
</script>

0 commit comments

Comments
 (0)