Skip to content

Commit

Permalink
Set ttl on metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed May 14, 2024
1 parent 5397a28 commit 72e3bcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ public function persist(ResponseEvent $event): void
return;
}

$this->clientContext->getClient()->metadata->set($this->metadataKey, $this->trackingInformation);
$this->clientContext->getClient()->metadata->set($this->metadataKey, $this->trackingInformation, 7_776_000); // todo the ttl should be set to the 'Click-through conversion window' in your Google conversion action settings
}
}

0 comments on commit 72e3bcc

Please sign in to comment.