Skip to content

Commit

Permalink
Improve integration test, DEV-207
Browse files Browse the repository at this point in the history
  • Loading branch information
iranimij committed Jan 29, 2024
1 parent 324104f commit 03c8d32
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions Model/ScriptGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,22 @@

class ScriptGenerator
{
private const COOKIEBOT_SCRIPT_FORMAT =
'<script id="Cookiebot" data-cfasync="false" src="https://consent.cookiebot.com/uc.js" data-cbid="%s" %s type="text/javascript" async></script>';
private const EU_COOKIEBOT_SCRIPT_FORMAT =
'<script id="Cookiebot" data-cfasync="false" src="https://consent.cookiebot.eu/uc.js" data-cbid="%s" %s type="text/javascript" async></script>';
private const COOKIEBOT_SCRIPT_FORMAT
= '<script
id="Cookiebot"
data-cfasync="false"
src="https://consent.cookiebot.com/uc.js"
data-cbid="%s"
%s
type="text/javascript" async></script>';
private const EU_COOKIEBOT_SCRIPT_FORMAT
= '<script
id="Cookiebot"
data-cfasync="false"
src="https://consent.cookiebot.eu/uc.js"
data-cbid="%s"
%s
type="text/javascript" async></script>';

/**
* @var Config
Expand Down

0 comments on commit 03c8d32

Please sign in to comment.