Skip to content

Commit f0b505f

Browse files
committed
Update readme
1 parent 377b799 commit f0b505f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The exception handler will send additional properties to Application Insights, a
8686
In order to register page view information from the client with Application Insights, simply insert the following code into your Blade views:
8787

8888
```php
89-
{!! AIClient::javascript() !!}
89+
{!! \AIClient::javascript() !!}
9090
```
9191

9292
NOTE: Microsoft recommend that you put the script in the `<head>` section of your pages, in order to calculate the fullest extent of page load time on the client.
@@ -97,8 +97,8 @@ If you want to use any of the underlying [ApplicationInsights-PHP](https://githu
9797

9898
```php
9999
...
100-
AIServer::trackEvent('Test event');
101-
AIServer::flush();//immediate send
100+
\AIServer::trackEvent('Test event');
101+
\AIServer::flush();//immediate send
102102
\AIQueue::dispatch(\AIServer::getChannel()->getQueue())->delay(now()->addSeconds(3));//use laravel queue to send data later
103103
...
104104
```

0 commit comments

Comments
 (0)