Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
toni-suarez committed Mar 12, 2024
2 parents f272992 + 5b0e327 commit 4975d50
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
A lightweight way to handle UTM parameters session-based in your Laravel Application.

```blade
@if(has_utm('source', 'newsletter'))
@hasUtm('source', 'newsletter')
<p>Special Content for Newsletter-Subscriber.</p>
@endif
@endhasUtm
```

---
Expand Down Expand Up @@ -132,13 +132,13 @@ Simply use:
- `has_not_utm('source|medium|campaign|term|content', 'optional-value')`

```blade
@hasUtm('term')
<p>You have any term.</p>
@endhasUtm
@hasUtm('source', 'corporate-partner')
@hasUtm('source', 'corporate-partner')
<div>Some corporate partner related stuff</div>
@endhasUtm
@endhasUtm
@hasNotUtm('term')
<p>You have any term.</p>
@endhasNotUtm
```

```php
Expand Down

0 comments on commit 4975d50

Please sign in to comment.