WebSite X5Help Center

 
Carlos N.
Carlos N.
User

SEO information from MATOMO for the web generated by x5 evolution  en

Autor: Carlos N.
Besucht 916, Followers 1, Geteilt 0  

Good morning, I have x5 evolution, I have developed some pages of my site with this tool, but I want to include Matomo and OWA tags in the template.
Can you please indicate me where and how should I place the scripts that they suggest to me in the project template x5 in such a way that I have access to statistics?
For this reason these programs offer me a tracking code that I must include on my site.In the pages that I made by programming the problem is solved.
In the pages made with X5 I would like to define it only once, in such a way that it is valid for any page that I create.
the code is available in PHP or javascript

it looks kike 

PHP


require_once('/srv/www/htdocs/stats/owa/owa_php.php');

$owa = new owa_php();
// Set the site id you want to track
$owa->setSiteId('a759b45e63ac4f2e2069e287e2df55e8');
// Uncomment the next line to set your page title
//$owa->setPageTitle('somepagetitle');
// Set other page properties
//$owa->setProperty('foo', 'bar');
$owa->trackPageView();

JAVASCRIPT


<!-- Start Open Web Analytics Tracker -->
<script type="text/javascript">
//<![CDATA[
var owa_baseUrl = 'https://www.nichterleinconsulting.com/stats/owa/'
var owa_cmds = owa_cmds || [];
owa_cmds.push(['setSiteId', 'a759b45e63ac4f2e2069e287e2df55e8']);
owa_cmds.push(['trackPageView']);
owa_cmds.push(['trackClicks']);
owa_cmds.push(['trackDomStream']);

(function() {
var _owa = document.createElement('script'); _owa.type = 'text/javascript'; _owa.async = true;
owa_baseUrl = ('https:' == document.location.protocol ? window.owa_baseSecUrl || owa_baseUrl.replace(/http:/, 'https:') : owa_baseUrl );
_owa.src = owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js';
var _owa_s = document.getElementsByTagName('script')[0]; _owa_s.parentNode.insertBefore(_owa, _owa_s);
}());
//]]>
</script>
<!-- End Open Web Analytics Code -->

Buenos dias, tengo x5 evolution, he desarrollado la información unas paginas de mi sitio con esta herramienta, pero deseo incluir tags de Matomo y OWA en la plantilla.
Por favor me pueden indicar dónde y como debo colocar los scripts que ellos me sugieren en la plantilla del proyecto x5 de tal manera que tenga acceso a estadisticas
Por esta razon estos programas me ofrecen un tracking code que debo incluir en mi sitio. En las paginas que hice por programación está resuelto el problema.
En las páginas realizadas con X5 me gustaria definirlo solo una vez, de tal manera que sea válido para cualquier pagina que yo cree.
el codigo está disponible en PHP o javascript

Gepostet am
1 ANTWORTEN