Skip to content

Commit

Permalink
✨ Allow string arrays as ex-/included domains
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Nov 4, 2021
1 parent 4a5e8e3 commit 89527e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/components/fathom-tracking-code.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
@if($honorDnt)data-honor-dnt="true" @endif
@if($disableAutoTracking)data-auto="false" @endif
@if($ignoreCanonicals)data-canonical="false" @endif
@if($excludedDomains)data-excluded-domains="{{ $excludedDomains }}" @endif
@if($includedDomains)data-included-domains="{{ $includedDomains }}" @endif
@if($excludedDomains)data-excluded-domains="{{ is_string($excludedDomains) ? $excludedDomains : implode(',', $excludedDomains) }}" @endif
@if($includedDomains)data-included-domains="{{ is_string($includedDomains) ? $includedDomains : implode(',', $includedDomains) }}" @endif
@if($spa)data-spa="{{ $spa }}"@endif
></script>
@endif

0 comments on commit 89527e0

Please sign in to comment.