Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-12-27 04:17:59 +0400
committermattab <matthieu.aubry@gmail.com>2013-12-27 04:17:59 +0400
commitb839389a0e3de28c780998a46bab567c59d42627 (patch)
tree8d3112e7373f227c1425a42bf1ec69fa5f685133
parent1894442934c0061e03d8e39a0748dbb0fc8c7620 (diff)
Removing extra BR from the documentation
-rw-r--r--plugins/SitesManager/templates/displayAlternativeTagsHelp.twig44
1 files changed, 22 insertions, 22 deletions
diff --git a/plugins/SitesManager/templates/displayAlternativeTagsHelp.twig b/plugins/SitesManager/templates/displayAlternativeTagsHelp.twig
index 758a4bec06..ed1ae6d387 100644
--- a/plugins/SitesManager/templates/displayAlternativeTagsHelp.twig
+++ b/plugins/SitesManager/templates/displayAlternativeTagsHelp.twig
@@ -14,9 +14,9 @@ The Image Tracker code can be used when Javascript is not allowed.
such as search keywords, referrers, screen resolutions, browser plugins and page titles.
</p>
<code>
- &lt;!-- Piwik Image Tracker --&gt;<br/>
- &lt;img src="{% if piwikUrlRequest is defined %}{{ piwikUrlRequest }}{% else %}{{ piwikUrl }}{% endif %}piwik.php?idsite={{ idSite }}&amp;amp;rec=1" style="border:0" alt="" /&gt;<br/>
- &lt;!-- End Piwik --&gt;<br/>
+ &lt;!-- Piwik Image Tracker --&gt;
+ &lt;img src="{% if piwikUrlRequest is defined %}{{ piwikUrlRequest }}{% else %}{{ piwikUrl }}{% endif %}piwik.php?idsite={{ idSite }}&amp;amp;rec=1" style="border:0" alt="" /&gt;
+ &lt;!-- End Piwik --&gt;
</code>
<br/>
The following parameters can also be passed to the image URL:
@@ -52,10 +52,10 @@ It is also possible to call the Piwik Tracking API using your favorite programmi
</li>
<li>Copy the following code, then paste it onto every page you want to track.
<code>
- &lt;?php <br/>
- // -- Piwik Tracking API init -- <br/>
- require_once "/path/to/PiwikTracker.php";<br/>
- PiwikTracker::$URL = '{% if piwikUrlRequest is defined %}{{ piwikUrlRequest }}{% else %}{{ piwikUrl }}{% endif %}';<br/>
+ &lt;?php
+ // -- Piwik Tracking API init --
+ require_once "/path/to/PiwikTracker.php";
+ PiwikTracker::$URL = '{% if piwikUrlRequest is defined %}{{ piwikUrlRequest }}{% else %}{{ piwikUrl }}{% endif %}';
?&gt;
</code>
</li>
@@ -68,14 +68,14 @@ It is also possible to call the Piwik Tracking API using your favorite programmi
<p>The client is used to generate the tracking URL that is wrapped inside a HTML &lt;img src=''&gt; code.
<br/>Paste this code before the &lt;/body&gt; code in your pages.
<code>
- &lt;?php <br/>
- // Example 1: Tracks a pageview for Website id = {{ idSite }}<br/>
+ &lt;?php
+ // Example 1: Tracks a pageview for Website id = {{ idSite }}
echo '&lt;img src="'. str_replace("&amp;","&amp;amp;", Piwik_getUrlTrackPageView( $idSite = {{ idSite }}, $customTitle = 'This title
- will appear in the report Actions > Page titles')) . '" alt="" /&gt;';<br/>
- // Example 2: Triggers a Goal conversion for Website id = {{ idSite }} and Goal id = 2<br/>
- // $customRevenue is optional and is set to the amount generated by the current transaction (in online shops for example)<br/>
+ will appear in the report Actions > Page titles')) . '" alt="" /&gt;';
+ // Example 2: Triggers a Goal conversion for Website id = {{ idSite }} and Goal id = 2
+ // $customRevenue is optional and is set to the amount generated by the current transaction (in online shops for example)
echo '&lt;img src="'. str_replace("&amp;","&amp;amp;", Piwik_getUrlTrackGoal( $idSite = {{ idSite }}, $idGoal = 2, $customRevenue =
- 39)) . '" alt="" /&gt;';<br/>
+ 39)) . '" alt="" /&gt;';
?&gt;
</code>
<br/>
@@ -92,15 +92,15 @@ It is also possible to call the Piwik Tracking API using your favorite programmi
<br/>Paste this code anywhere in your code where you wish to track a user interaction.
<code>
- &lt;?php <br/>
- $piwikTracker = new PiwikTracker( $idSite = {{ idSite }} );<br/>
- // You can manually set the visitor details (resolution, time, plugins, etc.) <br/>
- // See all other ->set* functions available in the PiwikTracker.php file<br/>
- $piwikTracker->setResolution(1600, 1400);<br/><br/>
- // Sends Tracker request via http<br/>
- $piwikTracker->doTrackPageView('Document title of current page view');<br/><br/>
- // You can also track Goal conversions<br/>
- $piwikTracker->doTrackGoal($idGoal = 1, $revenue = 42);<br/>
+ &lt;?php
+ $piwikTracker = new PiwikTracker( $idSite = {{ idSite }} );
+ // You can manually set the visitor details (resolution, time, plugins, etc.)
+ // See all other ->set* functions available in the PiwikTracker.php file
+ $piwikTracker->setResolution(1600, 1400);
+ // Sends Tracker request via http
+ $piwikTracker->doTrackPageView('Document title of current page view');
+ // You can also track Goal conversions
+ $piwikTracker->doTrackGoal($idGoal = 1, $revenue = 42);
?&gt;
</code>
</p>