Closed Bug 1126625 Opened 9 years ago Closed 9 years ago

refresh code for UA tracking

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2015-02-03

People

(Reporter: ddurst, Assigned: kngo)

References

Details

(Whiteboard: [qa-])

There are quite a few places that selectors are used to trigger UA tracking events. Here's the audit list, not all will apply (like setVar and setPageVar calls, which are included here for completeness, so I'm putting them last).

I included the (old) selector, where applicable, for reference and ease of finding (?):

# events
* fireplace/src/media/js/lightbox.js
	* App view interactions - screenshot view - .tray ul a
	* Category view interactions - screenshot view"
* fireplace/src/media/js/reviews.js
	* App view interactions - successful review - .add-review-form
	* Write a review (same)
* fireplace/src/media/js/views/search.js
	* View type interactions - Expanded view / List view - .expand-toggle
	* No results found - Search
* fireplace/src/media/js/tracking_events.js
	* Nav Click - .navbar > li > a
	* View Collection - .feed-collection .view-all
	* View App from Collection Element - .feed-collection .app-link
	* View App from Featured App Element - .featured-app.app-link
	* View Branded Editorial Element - .feed-brand .fanchor, .feed-brand .view-all
	* View App from Branded Editorial Element - .feed-brand .app-link
	* View Operator Shelf Element - .op-shelf.fanchor
	* View App from Operator Shelf Element - .shelf-landing a.mkt-tile
	* App view interactions - Toggle description - .show-toggle
	* App view interactions - .detail .support li a.button

	* Launch app
	* Click to install app (install start)
	* Successful app install (install finish)
	* App failed to install (install fail)

# setVar, setPageVar:
* Category - fireplace/src/media/js/views/category.js
* App name - fireplace/src/media/js/views/app.js 
* App ID - fireplace/src/media/js/views/app.js 
* App developer - fireplace/src/media/js/views/app.js
* App view source - fireplace/src/media/js/views/app.js
* App price - fireplace/src/media/js/views/app.js
* region - fireplace/src/media/js/mobilenetwork.js
* Reviewer - fireplace/src/media/js/ratings.js
* fireplace/src/media/js/views/app.js
* fireplace/src/media/js/apps_buttons.js
* Package Version - fireplace/src/media/js/tracking_events.js
https://github.com/mozilla/fireplace/pull/975
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Summary: Update fireplace GA tracking code → refresh code for UA tracking
Please add STR here or mark it with [qa-] if no QA is needed.
Whiteboard: [qa-]
Blocks: 1134407
Depends on: 1123889
You need to log in before you can comment on or make changes to this bug.