Re: com web/php: Adding GoSquared footer code: include/footer.inc
| From: | Paul Dragoonis | Date: | Thu, 25 Jul 2013 15:51:29 +0000 |
| Subject: | Re: com web/php: Adding GoSquared footer code: include/footer.inc | ||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-16386@lists.php.net to get a copy of this message | ||
Login at https://www.gosquared.com
username dragoonis@php.net
password is in a separate email
I just thought, include/footer.inc is probably only used on either the old
or new site, so we need to make sure the JS is on both old and new themes.
On Thu, Jul 25, 2013 at 4:45 PM, Peter Cowburn <salathe@php.net> wrote:
> On 25 July 2013 16:31, Paul Dragoonis <dragoonis@php.net> wrote:
>
>> Commit: 4d6dde3ba1ebcb9160858948de4b36883b8424d0
>> Author: Paul Dragoonis <dragoonis@gmail.com> Thu, 25 Jul 2013
>> 16:31:09 +0100
>> Parents: ac07e4cf514230117fa88f0f6a4d1555cd908a44
>> Branches: master
>>
>> Link:
>>
>> http://git.php.net/?p=web/php.git;a=commitdiff;h=4d6dde3ba1ebcb9160858948de4b36883b8424d0
>>
>> Log:
>> Adding GoSquared footer code
>>
>
> Where do we get to see the shiny charts?
>
>
>>
>> Changed paths:
>> M include/footer.inc
>>
>>
>> Diff:
>> diff --git a/include/footer.inc b/include/footer.inc
>> index 0dded3f..b4052b9 100644
>> --- a/include/footer.inc
>> +++ b/include/footer.inc
>> @@ -32,7 +32,23 @@
>> }
>> ?>
>>
>> -
>> +<script type="text/javascript">
>> + var GoSquared = {};
>> + GoSquared.acct = "GSN-094556-T";
>> + (function(w){
>> + function gs(){
>> + w._gstc_lt = +new Date;
>> + var d = document, g = d.createElement("script");
>> + g.type = "text/javascript";
>> + g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";
>> + var s = d.getElementsByTagName("script")[0];
>> + s.parentNode.insertBefore(g, s);
>> + }
>> + w.addEventListener ?
>> + w.addEventListener("load", gs, false) :
>> + w.attachEvent("onload", gs);
>> + })(window);
>> +</script>
>>
>> </body>
>> </html>
>>
>>
>> --
>> PHP Webmaster List Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>