Skip to content

Commit

Permalink
ga similar named exhibit collision fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoneill committed Oct 2, 2024
1 parent 6aa3c20 commit 5cd8ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/spotlight/analytics/ga.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def dimension_filter(path)
filter: Google::Analytics::Data::V1beta::Filter.new(
field_name: 'pagePath',
string_filter: Google::Analytics::Data::V1beta::Filter::StringFilter.new(
match_type: :BEGINS_WITH,
value: path.to_s
match_type: :PARTIAL_REGEXP,
value: "^#{path}(/.*)?$"
)
)
)
Expand Down

0 comments on commit 5cd8ba8

Please sign in to comment.