Closed Bug 999684 Opened 11 years ago Closed 11 years ago

Replace GA with UA

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2014-04-29

People

(Reporter: clouserw, Assigned: kngo)

References

Details

(Whiteboard: [qa-])

2. After the existing account has been transferred over, please remove the old Classic GA snippet from the site. And replace with: <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-36116321-6', 'firefox.com'); ga('send', 'pageview'); </script> 3. Update the following Custom Variables that are being used on marketplace to be custom dimensions. For example, on an app view page we pass 6 custom variables. Below is how we need to change one of those custom variables: Classic Implementation > _gaq.push(['_setCustomVar', 6, 'App Name', appName, 3]); UA Implementation > ga('set', 'dimension6', appName); 'App Name' - the name of the Custom Variable gets removed, as does the '3', which is now set within the UI. Full list of Custom Variables is available here: https://intranet.mozilla.org/FxOS_Marketplace_Custom_Variable_Map
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Please add some STRs to this bug or mark it as [qa-]
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.