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)

task
Not set
normal

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&amp;WT.js=No&amp;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.
Assignee: nobody → server-ops
Component: Other → Server Operations
Product: Websites → mozilla.org
QA Contact: other → mrz
Version: unspecified → other
Ping. Is there someone who can make this addition to the About Mozilla template on blog.mozilla.com?
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
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.
(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.
Shyam, did Laura's response in comment #4 answer your question about WebTrends?
Ping. Just checking to see if there's an update.
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
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&amp;WT.js=No&amp;WT.tv=8.6.2"/></div></noscript>
Assignee: server-ops → nobody
Component: Server Operations: Web Content Push → Webdev
QA Contact: mrz → webdev
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
Assignee: mrz → server-ops
Component: Server Operations: Web Content Push → Server Operations
QA Contact: webdev → mrz
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
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
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.
I can do it, then throw this back to IT to update.
Assignee: nobody → fwenzel
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
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.
(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!
Awesome! Didn't know about that RFC. Resolving this bug. Thanks all!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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.
...and thanks to Jake too :)
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.
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.
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.
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.
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.