Skip to content

Commit

Permalink
Merge pull request #9 from customgento/cfasync-false
Browse files Browse the repository at this point in the history
Add data-cfasync false attribute
  • Loading branch information
sprankhub authored Aug 27, 2020
2 parents 8a3cb0c + a1e9547 commit 2d96768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/ScriptGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ScriptGenerator
{
private const COOKIEBOT_SCRIPT_FORMAT = '<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="%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" type="text/javascript" async></script>';

/**
* @var Config
Expand Down

0 comments on commit 2d96768

Please sign in to comment.