Commit fa2c46ed by Roland Dunn Committed by GitHub

Revert "Update google analytics code to submit full URL not just path"

parent 9af5e9a4
......@@ -26,7 +26,7 @@ export class Analytics {
init() {
this.$rootScope.$on('$viewContentLoaded', () => {
const track = { location: this.$location.url() };
const track = { page: this.$location.url() };
const ga = (window as any).ga || this.gaInit();
ga('set', track);
ga('send', 'pageview');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment