Skip to content

Commit

Permalink
adjust method details
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Sep 15, 2023
1 parent 68d2a48 commit 398d0b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion TagManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function addTagManagerCode(&$out)

public function setTagManagerCode(&$out)
{
$newContent = '';
$newContent = '<h2>' . Piwik::translate('SitesManager_StepByStepGuide') . '</h2>';
$this->addTagManagerCode($newContent);
$out = $newContent;
}
Expand Down
2 changes: 2 additions & 0 deletions templates/trackingCodeReact.twig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<h2>{{ 'SitesManager_StepByStepGuide'|translate }}</h2>

{% if wasDetected %}
<div class="system notification notification-info">
{{ 'SitesManager_ReactDetected'|translate(
Expand Down
2 changes: 2 additions & 0 deletions templates/trackingSPA.twig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<h2>{{ 'SitesManager_StepByStepGuide'|translate }}</h2>

<p>{{ 'SitesManager_SiteWithoutDataSPADescription'|translate('<a href="https://matomo.org/guide/tag-manager/" target="_blank" rel="noreferrer noopener">', '</a>', '<a href="https://developer.matomo.org/guides/spa-tracking" target="_blank" rel="noreferrer noopener">', '</a>')|raw }}</p>
<br>
<p>{{ 'SitesManager_SiteWithoutDataCloudflareFollowStepsIntro'|translate }}</p>
Expand Down

0 comments on commit 398d0b7

Please sign in to comment.