Correct tracking
This commit is contained in:
@@ -206,7 +206,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
track() {
|
track() {
|
||||||
this.$ga.page("/generate");
|
this.$ga.page("/lottery/generate");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { page, event } from "vue-analytics";
|
||||||
import { attendees, winners } from "@/api";
|
import { attendees, winners } from "@/api";
|
||||||
import Chat from "@/ui/Chat";
|
import Chat from "@/ui/Chat";
|
||||||
import Vipps from "@/ui/Vipps";
|
import Vipps from "@/ui/Vipps";
|
||||||
@@ -61,6 +62,7 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.track();
|
||||||
this.getAttendees();
|
this.getAttendees();
|
||||||
this.getWinners();
|
this.getWinners();
|
||||||
this.socket = io(`${window.location.hostname}:${window.location.port}`);
|
this.socket = io(`${window.location.hostname}:${window.location.port}`);
|
||||||
@@ -139,6 +141,9 @@ export default {
|
|||||||
this.attendees = response;
|
this.attendees = response;
|
||||||
}
|
}
|
||||||
this.attendeesFetched = true;
|
this.attendeesFetched = true;
|
||||||
|
},
|
||||||
|
track() {
|
||||||
|
this.$ga.page("/lottery/game");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<span v-if="amount * price > price">
|
<span v-if="amount * price > price">
|
||||||
kr.
|
kr.
|
||||||
<span class="big-money">{{ amount * price }},-</span>
|
<span class="big-money">{{ amount * price }},-</span>
|
||||||
{{ price }},- pr. lodd)
|
({{ price }},- pr. lodd)
|
||||||
</span>
|
</span>
|
||||||
<span v-if="amount * price == price">
|
<span v-if="amount * price == price">
|
||||||
kr.
|
kr.
|
||||||
|
|||||||
Reference in New Issue
Block a user