File tree 1 file changed +15
-0
lines changed
python_env/src/cc.engine/cc/engine/templates/macros_templates 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -227,5 +227,20 @@ <h2>{% block license_name %}{% endblock %}</h2>
227
227
document . write ( "<" + "script type='text/javascript' src='//scraper.creativecommons.org/apps/deed?url=" + encodeURIComponent ( document . referrer ) + "&license_uri=" + encodeURIComponent ( document . URL ) + "&callback=YAHOO.cc.success'" + "><" + "/script>" ) ;
228
228
//]]>
229
229
</ script >
230
+ <!-- Piwik -->
231
+ < script type ="text/javascript ">
232
+ var _paq = _paq || [ ] ;
233
+ _paq . push ( [ 'trackPageView' ] ) ;
234
+ _paq . push ( [ 'enableLinkTracking' ] ) ;
235
+ ( function ( ) {
236
+ var u = "//stats.creativecommons.org/piwik/" ;
237
+ _paq . push ( [ 'setTrackerUrl' , u + 'piwik.php' ] ) ;
238
+ _paq . push ( [ 'setSiteId' , 2 ] ) ;
239
+ var d = document , g = d . createElement ( 'script' ) , s = d . getElementsByTagName ( 'script' ) [ 0 ] ;
240
+ g . type = 'text/javascript' ; g . async = true ; g . defer = true ; g . src = u + 'piwik.js' ; s . parentNode . insertBefore ( g , s ) ;
241
+ } ) ( ) ;
242
+ </ script >
243
+ < noscript > < p > < img src ="//stats.creativecommons.org/piwik/piwik.php?idsite=2 " style ="border:0; " alt ="" /> </ p > </ noscript >
244
+ <!-- End Piwik Code -->
230
245
</ body >
231
246
</ html >
You can’t perform that action at this time.
0 commit comments