Closed Bug 1150217 Opened 9 years ago Closed 9 years ago

GOOGLE_ANALYTICS_DOMAIN is set to 'auto' for crash-stats.mozilla.com

Categories

(Socorro :: General, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: rhelmer)

References

Details

(Whiteboard: [config change])

You can see in the HTML of crash-stats.mozilla.com that the Google Analytics code is set up to use:

          ga('create', 'UA-35433268-50', 'mozilla.org');
          ga('send', 'pageview');

That's wrong. It's supposed to be:


          ga('create', 'UA-35433268-50', 'auto');

I don't even know what the point of making that setting at all. There's no reason for it not to always be 'auto'.
Blocks: 1119198
I'm pretty sure our instructions are to not use 'auto' and instead use the real domain. We likely have the analytics code set wrong in the config.
cmore,

Can you help assure us what that value should be? Should it be 'crash-stats.mozilla.com' or 'auto'?
Flags: needinfo?(chrismore.bugzilla)
(In reply to Peter Bengtsson [:peterbe] from comment #2)
> cmore,
> 
> Can you help assure us what that value should be? Should it be
> 'crash-stats.mozilla.com' or 'auto'?

For the purposes of this domain, it should work as "mozilla.com" or "auto". I already do sub-domain filters at the profile level, so auto will still work since I am adding the filter to the GA admin side. The issue why it stopped working was the root domain of the metric site is mozilla.com and the domain the tag was mozilla.org.
Flags: needinfo?(chrismore.bugzilla)
So either work. Then, to avoid complexity I move that we change to not having it set which means it'll automatically default to 'auto'.
Rob, 
May I humbly assign this bug to you? Without this change we can't get any stats about which tabs get used.
Flags: needinfo?(rhelmer)
(In reply to Peter Bengtsson [:peterbe] from comment #5)
> Rob, 
> May I humbly assign this bug to you? Without this change we can't get any
> stats about which tabs get used.

We accept traffic on both crash-stats.mozilla.com and crash-stats.mozilla.org, is that a problem for analytics? Or did you want me to figure that out? :)
Flags: needinfo?(rhelmer)
(In reply to Robert Helmer [:rhelmer] from comment #6)
> (In reply to Peter Bengtsson [:peterbe] from comment #5)
> > Rob, 
> > May I humbly assign this bug to you? Without this change we can't get any
> > stats about which tabs get used.
> 
> We accept traffic on both crash-stats.mozilla.com and
> crash-stats.mozilla.org, is that a problem for analytics? Or did you want me
> to figure that out? :)

Shouldn't be. We'll set the value to 'auto'.
Summary: GOOGLE_ANALYTICS_DOMAIN is set to mozilla.org for crash-stats.mozilla.com → GOOGLE_ANALYTICS_DOMAIN is set to 'auto' for crash-stats.mozilla.com
Assignee: nobody → rhelmer
Status: NEW → ASSIGNED
Whiteboard: [config change]
GOOGLE_ANALYTICS_DOMAIN has been removed from our local.py in production, it was not set in stage.

crash-stats should now fall back to the default 'auto' from base.py
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.