From 86e928ba1c1788450e08999114884810f6bb7af3 Mon Sep 17 00:00:00 2001 From: Julien Verneuil Date: Tue, 28 Jun 2016 14:21:18 +0200 Subject: [PATCH] make "piwik_js_code" function return HTML_Head_Tag (meta) instead of a String --- web/piwik/CXM_piwik.anubis | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/web/piwik/CXM_piwik.anubis b/web/piwik/CXM_piwik.anubis index b9c852b..7713e51 100644 --- a/web/piwik/CXM_piwik.anubis +++ b/web/piwik/CXM_piwik.anubis @@ -11,31 +11,33 @@ * To change this template use Tools | Options | Coding | Edit Standard Headers. */ +read calexium_lib/web/CXM_making_a_web_site.anubis read tools/basis.anubis // this js code is to include in the section of a webpage, it enable Piwik tracking for the given site/domains (Note: Only if the website was added to the Piwik tracker) -public define String +public define HTML_Head_Tag piwik_js_code ( String piwik_tracker, Int site_id, List(String) piwik_domains )= - " - - - - - ". + meta(literal( + " + + + + + ")). -- libgit2 0.21.4