Closed
Bug 1093791
Opened 11 years ago
Closed 11 years ago
Add Analytics to firefox10.org
Categories
(Websites :: Web Analytics, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kinger, Assigned: lucky.lavish)
References
Details
Attachments
(1 file)
|
1.12 KB,
patch
|
mkohler
:
review+
|
Details | Diff | Splinter Review |
We needs the bits and pieces to add to firefox10.org.
This is super important for us to track the success of this campaign.
| Assignee | ||
Comment 1•11 years ago
|
||
I would love to work on this bug.
Comment 2•11 years ago
|
||
Please add this code just before the closing </head> tag:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49796218-13', 'auto');
ga('send', 'pageview');
</script>
Comment 3•11 years ago
|
||
I've emailed GA support to enable premium.
As soon as this is on the website, I can verify that data is coming through.
Comment 4•11 years ago
|
||
This out-of-the-box tracking will give you data on visitors to the site, but it won't include in-page interactions what people are doing on the page.
| Assignee | ||
Comment 5•11 years ago
|
||
Please assign this bug to me, I would love to work on it.
| Assignee | ||
Comment 6•11 years ago
|
||
PULL Request : https://github.com/AlexLakatos/chooseindependent/pull/98
Updated•11 years ago
|
Attachment #8516972 -
Flags: review+
Comment 7•11 years ago
|
||
merged and pushed to staging at http://alexlakatos.github.io/chooseindependent/
Updated•11 years ago
|
Assignee: nobody → lucky.lavish
Comment 8•11 years ago
|
||
will be pushed to production with the next production update
| Reporter | ||
Comment 9•11 years ago
|
||
Thanks Michael. Do you know the rough timeframe for next prod push?
Comment 10•11 years ago
|
||
(In reply to Michael Kohler [:mkohler] from comment #7)
> merged and pushed to staging at
> http://alexlakatos.github.io/chooseindependent/
Another thing Michael is that GA by default doesn't include any in-page interactions.
Information here on how to add onclick events to specific in-page interactions:
https://developers.google.com/analytics/devguides/collection/analyticsjs/events
I could imagine it would be helpful to have a GA event on the online/offline buttons, share this video button, external links on the "spread the word" section.
Comment 11•11 years ago
|
||
Hey Chris:
Per our conversation, please add the following @mozilla folks to the GA dashboard access:
josorio
kbaird
bking
Thanks-a-million!
-Jess
Comment 12•11 years ago
|
||
(In reply to Jessica Osorio from comment #11)
> Hey Chris:
>
> Per our conversation, please add the following @mozilla folks to the GA
> dashboard access:
>
> josorio
> kbaird
> bking
>
> Thanks-a-million!
>
> -Jess
Done!
Comment 13•11 years ago
|
||
Chris, could you please verify that it's working? Jess still sees the same numbers as yesterday evening. I see the JS <script> on the page, everything should be fine.
Flags: needinfo?(chrismore.bugzilla)
| Reporter | ||
Comment 14•11 years ago
|
||
It looks like it just started to kick in, I am seeing numbers on the dashboard now.
Comment 15•11 years ago
|
||
There are definitely numbers - since yesterday... but I see the same #s. Just want to make sure it's still working properly. :)
Comment 16•11 years ago
|
||
(In reply to Michael Kohler [:mkohler] from comment #13)
> Chris, could you please verify that it's working? Jess still sees the same
> numbers as yesterday evening. I see the JS <script> on the page, everything
> should be fine.
It is all working properly now. I just tested it and I can see my real-time requests coming in.
Will we have time to do the in-page events as defined in comment 10?
Flags: needinfo?(chrismore.bugzilla)
Comment 17•11 years ago
|
||
Perfect. Yes, we still plan to include other in-page events. Jessica has opened a bug here and shared her wishlist: https://github.com/AlexLakatos/chooseindependent/issues/196
Just to make sure: we won't block release if we can't finish it.
Is there any way we can test that while developing?
Flags: needinfo?(chrismore.bugzilla)
Comment 18•11 years ago
|
||
A lot of in-page events were added. Basically everything except of the number of clicks to the videos. This might be technically complex to do or I'm just too tired. The new in-page events will be pushed to production on Sunday, 6am PST.
Flags: needinfo?(chrismore.bugzilla)
Comment 19•11 years ago
|
||
I can see all of the link events! Nice work.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 20•11 years ago
|
||
Hi Chris!
Not sure if Garreth has access to all projects but I need him to also have access to this page's GA because him and I are meeting later this week to walk through all the data.
Please and thank you,
Jess
Flags: needinfo?(chrismore.bugzilla)
Comment 21•11 years ago
|
||
Don't worry Jess. I have access to this GA profile :)
Flags: needinfo?(chrismore.bugzilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•