Skip to content

Commit

Permalink
Set cliendId to empty string when not set
Browse files Browse the repository at this point in the history
  • Loading branch information
tjardoo committed Dec 11, 2023
1 parent 1e5272c commit 95320b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MeasurementProtocol.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class MeasurementProtocol

public function __construct()
{
$this->clientId = session(config('tagmanager.measurement_protocol_client_id_session_key'));
$this->clientId = session(config('tagmanager.measurement_protocol_client_id_session_key'), '');
}

public function event(string $name, array $params = null): array
Expand Down

0 comments on commit 95320b7

Please sign in to comment.