Skip to content

Commit

Permalink
Points the collection views event to Source Collection Title (#696). (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatson78 committed Dec 9, 2020
1 parent 94ff863 commit 1a220aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/catalog/_is_part_of_block.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>

// Sends the custom dimension to Google Analytics.
gtag('event', "<%= document['member_of_collections_ssim']&.first %>",
gtag('event', "<%= document['source_collection_title_ssim']&.first %>",
{
'event_category': 'collection_view',
'event_label': '<%= document['title_tesim'].first %>'
Expand Down

0 comments on commit 1a220aa

Please sign in to comment.