Track Google Analytics tags used for registration
Track Google Analytics tags used for registration

Save the most recently-used Google Analytics parameters and then save
them as a user attribute upon account registration.

Query String Parameters:
- utm_source
- utm_medium
- utm_campaign
- utm_term
- utm_content

This is cribbed from upstream [1].

- [1] https://github.com/edx/ecommerce-scripts/blob/master/gtm_scripts/utm_tracking/stage_utm_cookie.js

Stanford-Online/openedx-themes