Skip to content

Commit

Permalink
Merged with 5.x-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
AltamashShaikh committed Dec 20, 2024
2 parents e6a9920 + 23fc15f commit dffd7e9
Show file tree
Hide file tree
Showing 46 changed files with 742 additions and 219 deletions.
5 changes: 4 additions & 1 deletion Context/BaseContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ protected function generatePublicContainer($container, $release)

$idSite = $container['idsite'];
$idContainer = $container['idcontainer'];
$isTagFireLimitAllowedInPreviewMode = $container['isTagFireLimitAllowedInPreviewMode'] ? 1 : 0;
$isTagFireLimitAllowedInPreviewMode = 0;
if (isset($container['isTagFireLimitAllowedInPreviewMode'])) {
$isTagFireLimitAllowedInPreviewMode = $container['isTagFireLimitAllowedInPreviewMode'] ? 1 : 0;
}
$idContainerVersion = $release['idcontainerversion'];
$container['idcontainerversion'] = $idContainerVersion;
$environment = $release['environment'];
Expand Down
1 change: 1 addition & 0 deletions TagManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,7 @@ public function getClientSideTranslationKeys(&$result)
$result[] = 'TagManager_TriggerLowercase';
$result[] = 'TagManager_VariableLowercase';
$result[] = 'TagManager_LearnMoreFullStop';
$result[] = 'TagManager_CustomHTMLTagNameInlineHelpText';
}

public function getStylesheetFiles(&$stylesheets)
Expand Down
6 changes: 0 additions & 6 deletions Template/Tag/EtrackerTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ class EtrackerTag extends BaseTag
{
public const PARAM_ETRACKER_CONFIG = 'etrackerConfig';

public function getDescription()
{
return Piwik::translate('TagManager_EtrackerTagDescriptionNew');
}


public function getIcon()
{
return 'plugins/TagManager/images/icons/etracker.svg';
Expand Down
5 changes: 5 additions & 0 deletions Template/Variable/EtrackerConfigurationVariable.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ public function getId()
return self::ID;
}

public function getDescription()
{
return Piwik::translate('TagManager_EtrackerMainVariableDescription');
}

public function getCategory()
{
return self::CATEGORY_OTHERS;
Expand Down
2 changes: 1 addition & 1 deletion Template/Variable/PreConfigured/FormElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class FormElement extends BaseDataLayerVariable
{
public function getCategory()
{
return self::CATEGORY_CLICKS;
return self::CATEGORY_FORMS;
}

protected function getDataLayerVariableName()
Expand Down
1 change: 1 addition & 0 deletions lang/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@
"EtrackerConfigurationVariableTValTitle": "Μεταβλητή et_tval",
"EtrackerConfigurationVariableTargetTitle": "Μεταβλητή et_target",
"EtrackerConfigurationVariableTonrTitle": "Μεταβλητή et_tonr",
"EtrackerMainVariableDescription": "Καθορίζει την παραμετροποίηση για το eTracker Analytics για την βελτιστοποίηση της συλλογής δεδομένων.",
"EtrackerTagAddToCartNumberDescription": "Αριθμός προϊόντων που προστέθηκαν στο καλάθι",
"EtrackerTagAddToCartNumberTitle": "Αριθμός",
"EtrackerTagAddToCartProductDescription": "αντικείμενο dataLayer του προϊόντος - σύμφωνα με την παραπομπή etracker",
Expand Down
4 changes: 3 additions & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@
"ErrorXNotWhitelisted": "The value for \"%1$s\" is not allowed, use one of: %2$s.",
"ErrorXTooLong": "\"%1$s\" is too long, max %2$s characters are allowed.",
"EtrackerTagName": "etracker web analysis",
"EtrackerTagDescriptionNew": "Defines the configuration for eTracker Analytics to optimise data collection.",
"EtrackerTagDescription": "etracker is a web analytics system, you can choose to send a pageview or an event.",
"EtrackerMainVariableDescription": "Defines the configuration for eTracker Analytics to optimise data collection.",
"EtrackerTagHelp": "The etracker tag tracks and sends data on user interactions for pageviews or specific events.",
"EventActionHelp": "The event's action, for example Play, Pause, Duration, Add Playlist, Downloaded, Clicked…",
"EventCategoryHelp": "The event's category, for example Videos, Music, Games…",
Expand Down Expand Up @@ -1113,6 +1114,7 @@
"CopyXDescription": "To duplicate this %1$s, select the website and container you’d like to add the %1$s to. This will create an exact copy of all settings of the %1$s.",
"CopyXSuccess": "A copy was successfully created. %1$sNavigate to the new %2$s now%3$s.",
"LearnMoreFullStop": "%1$sLearn more%2$s.",
"CustomHTMLTagNameInlineHelpText": "%1$sNote:%2$s If you are targeting users in Europe, be aware that triggering retargeting tags like Google Ads Remarketing requires user consent under GDPR. %3$sLearn more%4$s.",
"MatomoConfigurationMatomoCustomDataTitle": "Custom Data",
"MatomoConfigurationMatomoCustomDataDescription": "Optionally set custom data in your tracking request.",
"MatomoConfigurationMatomoSetDownloadExtensionsTitle": "Set Download Extensions",
Expand Down
Loading

0 comments on commit dffd7e9

Please sign in to comment.