Open adamlofting opened 10 years ago
@andrewhayward @christensenep - do you want to do anything specific with managing .js files included, or shall I just add things into base/static/js
and then into base.html
?
What would be different about this in the various environments? Just thinking how best to go about configuring the script.
This is an optional extra really, but we could set an alternative GA-account-id and GA-domain on staging and prod. That way we can test any changes to GA tracking on staging.
I'll open a PR, so we can discuss in relation to actual code :)
Here's what I was thinking (re-using the existing process from webmaker): https://github.com/mozilla/mozilla-badges/pull/20/files#diff-31d2b15bbb55166af1f9ee9f958ea6dfR183
I'll ask implementation questions on the issue itself.
Prod: