ipunkt / laravel-analytics

Analytics tracking package for Laravel
MIT License
263 stars 54 forks source link

Sends pageview only when debug == true #48

Closed srottem closed 4 years ago

srottem commented 6 years ago

When using the package as described using the Analytics::render() method I can see recorded pageviews on the GA console and can see the http request in Chrome developer tools only when debug is set to true. When debug is set to false and the analytics-debug.js scrpit is rendered to the page the http request does not appear to occur and nothing is recorded in the GA console.

Any clue as to why this might not be working?