Sithu-Soe

Results 4 comments of Sithu-Soe

here Route::get('/test', function(){ $analytics = new Analytics(false, false); $uuid = (string) Str::uuid(); // Make sure AsyncRequest is set to false (it defaults to false) $response = $analytics->setProtocolVersion('1') ->setTrackingId('G-DDDDDDCC') ->setClientId($uuid) ->setDebug(true)...

and using laravel gamp $gamp = GAMP::setClientId($uuid); $gamp->setDebug(true)->sendPageview(); dd($gamp, $debugResponse);

I already add my tracking id in the config file(gamp.php). Yeah, of course, I just test with both Analytics class and Gamp class from Facade. Also, I test by switching...