Skip to content

Commit

Permalink
Use UTM
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Feb 25, 2025
1 parent c8a4484 commit cd44f63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Filament/Widgets/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ protected function fetchFeed(string $uri, int $maxPosts = 5): array
$posts[] = [
'title' => (string) ($item->title ?? ''),
'link' => Uri::of((string) ($item->link ?? ''))->withQuery([
'ref' => 'cachet-dashboard',
'utm_source' => 'cachet',
'utm_medium' => 'installation',
'utm_campaign' => 'dashboard',
]),
'description' => Str::of($item->description ?? $item->summary ?? '')->limit(preserveWords: true),
'date' => Carbon::parse((string) ($item->pubDate ?? $item->updated ?? '')),
Expand Down

0 comments on commit cd44f63

Please sign in to comment.