generated from Setono/SyliusPluginSkeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Setono/change-default-tracking
Change tracking strategy
- Loading branch information
Showing
7 changed files
with
30 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Setono\SyliusPlausiblePlugin\Event; | ||
|
||
use Setono\TagBag\Tag\ScriptTag; | ||
|
||
/** | ||
* This event is dispatched when the Plausible tracking library tag is created. | ||
* You can listen to this event to alter the tag before it is added to the tag bag. | ||
* Remember that the ScriptTag is a value object, so you need to create a new instance if you want to alter it. | ||
*/ | ||
final class LibraryTagCreatedEvent | ||
{ | ||
public function __construct(public ScriptTag $tag) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
setono_sylius_plausible: | ||
client_side: | ||
script: 'https://plausible.io/js/script.local.manual.revenue.js' | ||
script: 'https://plausible.io/js/script.local.pageview-props.revenue.js' | ||
domain: 'setono.com' |