You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2024. It is now read-only.
Set your [Google Analytics tracking ID](https://support.google.com/analytics/answer/1008080) in your`.env` file or in the `config/analytics-event-tracking.php` file.
31
+
Set your [Google Analytics Tracking ID](https://support.google.com/analytics/answer/1008080) in the`.env` file or in the `config/analytics-event-tracking.php` file.
32
32
33
33
```bash
34
34
GOOGLE_ANALYTICS_TRACKING_ID=UA-01234567-89
35
35
```
36
36
37
37
## Broadcast Events to Google Analytics
38
38
39
-
Just add the `ShouldBroadcastToAnalytics` interface to your event and you're ready!
39
+
Add the `ShouldBroadcastToAnalytics` interface to your event and you're ready! You don't have to manually bind any listeners.
40
40
41
41
```php
42
42
<?php
@@ -93,7 +93,7 @@ class OrderWasPaid implements ShouldBroadcastToAnalytics
93
93
94
94
public function withAnalytics(Analytics $analytics)
0 commit comments