Closed
Bug 662370
Opened 14 years ago
Closed 14 years ago
Add WebTrends code to About Mozilla blog template
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: davidwboswell, Assigned: nmaul)
References
()
Details
There are no web traffic stats for the About Mozilla blog, although blog.mozilla.com is tracking other blog content in WebTrends.
To get this working, I think we just need to add the WebTrends code below (taken from blog.mozilla.com main page) to the About Mozilla template right before the closing body tag.
<script defer src="http://blog.mozilla.com/wp-content/js/webtrends/webtrends-v0.1.js"></script><noscript><div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcsfnk37m00000gss18cknplo_6g5c/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=8.6.2"/></div></noscript>
If for some reason this isn't feasible, would it be possible to turn on WordPress's stats? I'm not seeing this in the WordPress admin and assume it was turned off because it wasn't needed because of the WebTrends stats.
| Reporter | ||
Updated•14 years ago
|
Assignee: nobody → server-ops
Component: Other → Server Operations
Product: Websites → mozilla.org
QA Contact: other → mrz
Version: unspecified → other
| Reporter | ||
Comment 1•14 years ago
|
||
Ping. Is there someone who can make this addition to the About Mozilla template on blog.mozilla.com?
Comment 2•14 years ago
|
||
I'm not sure we should be sharing stuff from the blog.mozilla.com main page, since I'm not sure how webtrends works. Going to punt this to metrics to get an okay.
Assignee: server-ops → nobody
Group: metrics-private
Component: Server Operations → Data/Backend Reports
Product: mozilla.org → Mozilla Metrics
QA Contact: mrz → data-reports
Version: other → unspecified
| Reporter | ||
Comment 3•14 years ago
|
||
To confirm, that WebTrends tag is on more than just the blog.mozilla.com home page. Any page on blog.mozilla.com that we want stats for needs a WebTrends tag.
lforrest, can you check and see if the tag mentioned in the description above is the right one to use for the blog.mozilla.com/about_mozilla/ pages? Thanks.
Comment 4•14 years ago
|
||
(In reply to comment #2)
> I'm not sure we should be sharing stuff from the blog.mozilla.com main page,
> since I'm not sure how webtrends works. Going to punt this to metrics to get
> an okay.
Hey Shyam - thanks for checking regarding Webtrends (I'm the internal contact person for all things Webtrendy) it's okay to implement this tracking onto /about_mozilla using the code provided by David.
| Reporter | ||
Comment 5•14 years ago
|
||
Shyam, did Laura's response in comment #4 answer your question about WebTrends?
| Reporter | ||
Comment 6•14 years ago
|
||
Ping. Just checking to see if there's an update.
| Reporter | ||
Comment 7•14 years ago
|
||
Moving back to Server Ops for making this change in the templates.
Assignee: nobody → server-ops
Group: metrics-private
Component: Data/Backend Reports → Server Operations: Web Content Push
Product: Mozilla Metrics → mozilla.org
QA Contact: data-reports → mrz
Version: unspecified → other
| Reporter | ||
Comment 8•14 years ago
|
||
Can someone please respond about adding the WebTrends code below (taken from the blog.mozilla.com main page) to the About Mozilla blog template right before the closing body tag? Thanks.
<script defer src="http://blog.mozilla.com/wp-content/js/webtrends/webtrends-v0.1.js"></script><noscript><div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcsfnk37m00000gss18cknplo_6g5c/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=8.6.2"/></div></noscript>
Updated•14 years ago
|
Assignee: server-ops → nobody
Component: Server Operations: Web Content Push → Webdev
QA Contact: mrz → webdev
| Reporter | ||
Comment 9•14 years ago
|
||
Assigning to mrz to help determine what the next steps are. It's been about a month since there's been a response to any of my comments here.
Assignee: nobody → mrz
Component: Webdev → Server Operations: Web Content Push
Updated•14 years ago
|
Assignee: mrz → server-ops
Component: Server Operations: Web Content Push → Server Operations
QA Contact: webdev → mrz
| Reporter | ||
Comment 10•14 years ago
|
||
Could someone please comment in this bug so I have some visibility about what's going on? Is this in a queue somewhere or is further action needed on my part to move this forward?
Component: Server Operations → Server Operations: Web Content Push
| Assignee | ||
Comment 11•14 years ago
|
||
oremj did the right thing between comments 8 and 9 by punting this to Webdev. Server Ops does not modify code (including templates)... we just push out the modified version. :)
As far as the delay, last week in particular was rather slow for us, as all of IT was in training for the whole week. Sorry about that... lots of things got bumped, including this. Had to prioritize the outages and pushes.
In any case, I'm going to kick this back to webdev for implementation. I'm not exactly sure who maintains the blog themes, but I'll CC a random one who might know... fwenzel, any idea who specifically to kick this to?
Assignee: server-ops → nobody
Component: Server Operations: Web Content Push → Webdev
OS: Mac OS X → All
QA Contact: mrz → webdev
Hardware: x86 → All
| Reporter | ||
Comment 12•14 years ago
|
||
Jake, thanks for the update. No problem about the delays -- just good to have some visibility about where things are.
Wenzel, thanks in advance for clearing up who to talk to about this.
Comment 13•14 years ago
|
||
I can do it, then throw this back to IT to update.
Assignee: nobody → fwenzel
Comment 14•14 years ago
|
||
Landed this on SVN in r92666. I took the code from comment 0, expect it should work on both HTTP and HTTPS.
Back over to IT, please update that theme on our blog server. Thanks!
Assignee: fwenzel → nmaul
Component: Webdev → Server Operations: Web Content Push
QA Contact: webdev → mrz
| Assignee | ||
Comment 15•14 years ago
|
||
Looks like a lot of work has happened on the UserResearch-Nova theme lately, but I do see the about_mozilla/footer.php change.
This should be live now. However, I'm not sure it's working quite right... looking more closely at the code in it, I see both the script and img tags have something like this:
src="//...."
That should probably be "https:// or "http://"... or some sort of code to pick one or the other. Using the web console, it looks like Firefox guesses and inserts "http:" for you, but that's probably not good to rely on unless we know it's some kind of standard.
If you're happy with how it is now, let me know and we'll just close this out. Otherwise, maybe a bit more webdev time...
[root@mradm02 themes]# svn up
A UserResearch-Nova
A UserResearch-Nova/searchform.php
A UserResearch-Nova/footer.php
A UserResearch-Nova/style.css
A UserResearch-Nova/author.php
A UserResearch-Nova/css
A UserResearch-Nova/css/login.css
A UserResearch-Nova/css/print.css
A UserResearch-Nova/css/editor-style.css
A UserResearch-Nova/css/ie7.css
A UserResearch-Nova/search.php
A UserResearch-Nova/main-nav.php
A UserResearch-Nova/screenshot.jpg
A UserResearch-Nova/404.php
A UserResearch-Nova/index.php
A UserResearch-Nova/functions.php
A UserResearch-Nova/page.php
A UserResearch-Nova/page-archives.php
A UserResearch-Nova/single.php
A UserResearch-Nova/archive.php
A UserResearch-Nova/page-who-we-are.php
A UserResearch-Nova/comments.php
A UserResearch-Nova/js
A UserResearch-Nova/js/fc-checkcomment.js
A UserResearch-Nova/js/html5.js
A UserResearch-Nova/js/webtrends.js
A UserResearch-Nova/img
A UserResearch-Nova/img/arr-left.png
A UserResearch-Nova/img/icn-search.png
A UserResearch-Nova/img/avatar.png
A UserResearch-Nova/img/arr-right.png
A UserResearch-Nova/img/bg-meta-sep.png
A UserResearch-Nova/img/bg-quote.png
A UserResearch-Nova/img/arr-go.png
A UserResearch-Nova/img/dots.png
A UserResearch-Nova/img/page-background.png
A UserResearch-Nova/img/icn-feed.png
A UserResearch-Nova/img/favicon.ico
A UserResearch-Nova/img/mozilla-tab.png
A UserResearch-Nova/header.php
U about_mozilla/footer.php
Updated to revision 92666.
Comment 16•14 years ago
|
||
(In reply to comment #15)
> Looks like a lot of work has happened on the UserResearch-Nova theme lately,
> but I do see the about_mozilla/footer.php change.
All right. If no-one is using it, I don't think the additional files hurt.
> This should be live now. However, I'm not sure it's working quite right...
> looking more closely at the code in it, I see both the script and img tags
> have something like this:
>
> src="//...."
>
> That should probably be "https:// or "http://"... or some sort of code to
> pick one or the other. Using the web console, it looks like Firefox guesses
> and inserts "http:" for you, but that's probably not good to rely on unless
> we know it's some kind of standard.
http://tools.ietf.org/html/rfc3986#section-4.2
All good from my side, thanks!
| Assignee | ||
Comment 17•14 years ago
|
||
Awesome! Didn't know about that RFC. Resolving this bug. Thanks all!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 18•14 years ago
|
||
Thanks Wenzel.
I need to wait until tomorrow to see if WebTrends is getting data from these pages -- they only update stats every 24 hours, IIRC. I'll check tomorrow and see if anything is in there.
| Reporter | ||
Comment 19•14 years ago
|
||
...and thanks to Jake too :)
| Reporter | ||
Comment 20•14 years ago
|
||
FYI, I wasn't seeing any stats for the About Mozilla blog pages this morning. Possible that we need one more day for this to get into a WebTrends report. Will check again tomorrow morning.
| Reporter | ||
Comment 21•14 years ago
|
||
No About Mozilla blog stats in the blog.mozilla.com profile today either. I'll try looking at the profile to see if it's restricting tracking to just specific parts of the blog.mozilla.com site or if it might be something else.
| Assignee | ||
Comment 22•14 years ago
|
||
Not sure what's wrong with it. I see the tags in the source code, and when fetching the page I can see it request the content from statse.webtrendslive.com:
[09:45:47.937] GET https://statse.webtrendslive.com/dcsis0ifv10000gg3ag82u4rf_7b1e/dcs.gif?&dcsdat=.....
Guessing it's a problem on WebTrends' end somewhere. Let us know if there's anything we (infra) can do to help.
| Reporter | ||
Comment 23•14 years ago
|
||
Yeah, I'm assuming the tag is correct. Maybe some filtering going on in the profile? Will try to take a look into this later today.
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•7 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•