Mouseflow tracking update

 


Current state

URL

Link

Tracking date range

Tracking install date

Request from

Note

URL

Link

Tracking date range

Tracking install date

Request from

Note

go.wgtn.ac.nz

 

 

 

 

Says recording but no stats. Possibly never set up properly?

intranet.wgtn.ac.nz

intranet.wgtn.ac.nzintranetwgtn.ac.nz

 

 

 

heatmap

 

intranet.wgtn.ac.nz?toolbar

 

 

 

heatmap

 

intranet.wgtn.ac.nz/staff

 

 

 

heatmap

 

intranet.wgtn.ac.nzintranetwgtn.ac.nz/_recache

 

 

 

heatmap

https://www.wgtn.ac.nz

wgtn.ac.nz/study

 

 

 

heatmap

 

wgtn.ac.nzwgtn.ac.nz

 

 

 

heatmap

 

wgtn.ac.nzwgtn.ac.nz/student/tools

 

 

 

heatmap

 

wgtn.ac.nz/study/programmes-courses/courses/by-subject

 

 

 

heatmap

 

wgtn.ac.nz/library

 

 

 

heatmap

 

wgtn.ac.nz/international

 

 

 

heatmap

 

wgtn.ac.nz/accommodation/halls/profiles

 

 

 

heatmap

 

wgtn.ac.nz/students

 

 

 

heatmap

 

wgtn.ac.nz/study/programmes-courses/postgraduate

 

 

 

heatmap

 

wgtn.ac.nz/international/open-for-usa

 

 

 

heatmap

 

wgtn.ac.nz/international/rethink-usa

 

 

 

rethink USA campaign funnel. From 07/12/2021 - 06/12/2022 there were 34 visits to /rethink-usa, of those, only 2 clicked through to /international/programmes, and only 1 of those proceeded to wgtn.ac.nz/explore)

 


Future State

URL

Tracking date range

Tracking install date

Request from

Note

URL

Tracking date range

Tracking install date

Request from

Note

/accommodation/halls/profiles

30th. April 2021 -

29th. April 2021

DE

Launched the new comparison tool, it’s difficult for GA to track the filters clickthrough, so use mouseflow to check the filters

wgtn hompage

16th April 2021 -

15th April 2021

DE

Monitor homepage click heatmap for redesign purpose.

Since had tweaks on 22nd. April as well, so will extend the monitoring time frame.

https://www.wgtn.ac.nz/study/programmes-courses/postgraduate

Nov. 2020 –

27/11/2020

DE

Installed

https://www.wgtn.ac.nz/fhss homepage

Dec. 2020 -

07/12/2020

DE

Installed

https://www.wgtn.ac.nz/science homepage

Dec. 2020 -

08/12/2020

DE

Installed

https://www.wgtn.ac.nz/engineering homepage

Dec. 2020 -

08/12/2020

DE

Installed

https://www.wgtn.ac.nz/wfadi homepage

Dec. 2020 -

09/12/2020

DE

Installed

https://www.wgtn.ac.nz/health homepage

Dec. 2020 -

09/12/2020

DE

Installed

https://www.wgtn.ac.nz/education homepage

Dec. 2020 -

09/12/2020

DE

Installed

https://www.wgtn.ac.nz/fgr homepage

Dec. 2020 -

09/12/2020

DE

Installed

https://www.wgtn.ac.nz/law homepage

Dec. 2020 -

09/12/2020

DE

Installed

https://www.wgtn.ac.nz/study/course-planning/appointments

Dec 2020 -

09/12/2020

DE

Installed - Check booking appointment wizard

  • After installing the code, will move to the current state table below


Current State (Update 26/11/2020)

URL

Link

Install date 

Expire date

Note

Action

URL

Link

Install date 

Expire date

Note

Action

/

https://intranet.wgtn.ac.nz/

 

 

Intranet homepage not wgtn homepage

Update

/business

https://www.wgtn.ac.nz/business

 

 

 

Keep

/business/home

https://www.wgtn.ac.nz/business/home

 

 

 

Keep

/international

https://www.wgtn.ac.nz/international

 November 19

 

 

Keep

/international/applying 

https://www.wgtn.ac.nz/international/applying 

 November 19

December 20

 

Delete

/international/contact-us 

https://www.wgtn.ac.nz/international/contact-us 

 November 19

December 20

 

Delete

/international/general-enquiry 

https://www.wgtn.ac.nz/international/general-enquiry 

 November 19

December 20

General enquiry form

Delete

/international/get-ready-to-study 

https://www.wgtn.ac.nz/international/get-ready-to-study 

 November 19

December 20

 

Delete

/international/home

https://www.wgtn.ac.nz/international/home

 November 19

 

 

Delete

/international/programmes

https://www.wgtn.ac.nz/international/programmes

 November 19

December 20

 

Delete

/international/programmes/online-study

https://www.wgtn.ac.nz/international/programmes/online-study

 

 

 

Keep

/international/programmes/online-study/_nocache

https://www.wgtn.ac.nz/international/programmes/online-study/_nocache

 

 

 

Delete

/international/rethink-usa

https://www.wgtn.ac.nz/international/rethink-usa

 October 20

 

 

Keep

/international/scholarships-fees  (new site launched Nov 2019)

https://www.wgtn.ac.nz/international/scholarships-fees  (new site launched Nov 2019)

 November 19

December 20

 

Delete

/international/why-wellington  (new site launched Nov 2019)

https://www.wgtn.ac.nz/international/why-wellington  (new site launched Nov 2019)

 November 19

 

 

Keep

/international/why-wellington/_nocache

https://www.wgtn.ac.nz/international/why-wellington/_nocache

 

 

 

Delete

/international/why-wellington/explore-creativity

https://www.wgtn.ac.nz/international/why-wellington/explore-creativity

 November 20

 

 

Keep

/international/why-wellington/explore-creativity/_nocache

https://www.wgtn.ac.nz/international/why-wellington/explore-creativity/_nocache

 

 

 

Delete

/international/why-wellington/explore-leadership

https://www.wgtn.ac.nz/international/why-wellington/explore-leadership

 November 20

 

 

Keep

/international/why-wellington/explore-leadership/_nocache

https://www.wgtn.ac.nz/international/why-wellington/explore-leadership/_nocache

 

 

 

Delete

/international/why-wellington/explore-sustainability

https://www.wgtn.ac.nz/international/why-wellington/explore-sustainability

 November 20

 

 

Keep

/international/why-wellington/explore-sustainability/_nocache

https://www.wgtn.ac.nz/international/why-wellington/explore-sustainability/_nocache

 

 

 

Delete

/library

https://www.wgtn.ac.nz/library

 

 

 

Keep

/library/blackboard

https://www.wgtn.ac.nz/library/blackboard

 

 

library homepage

Delete

/library/home

https://www.wgtn.ac.nz/library/home

 

 

library homepage

Delete

/maori-hub

https://www.wgtn.ac.nz/maori-hub

 

 

 

Keep

/maori-hub/home

https://www.wgtn.ac.nz/maori-hub/home

 

 

 

Delete

/staff

https://www.wgtn.ac.nz/staff

 June 18

 

Intranet homepage

Keep

/staff/_performance_timing

https://www.wgtn.ac.nz/staff/_performance_timing

 

 

 

Delete

/students

https://www.wgtn.ac.nz/students

 October 18

 

mytools shows on the screen

Update

/study

https://www.wgtn.ac.nz/study

 

 

 

Keep

/study/apply-enrol

https://www.wgtn.ac.nz/study/apply-enrol

 

 

 

Keep

/study/events-visits/open-day

https://www.wgtn.ac.nz/study/events-visits/open-day

 

 

 

Delete

/study/home

https://www.wgtn.ac.nz/study/home

 

 

Future student homepage

Delete

/study/programmes-courses/courses/by-subject

https://www.wgtn.ac.nz/study/programmes-courses/courses/by-subject

 

 

it's search page instead of subject page

Keep

/study/university-life

https://www.wgtn.ac.nz/study/university-life

 

 

 

Keep

/taihonoa

https://www.wgtn.ac.nz/taihonoa

 

 

 

Keep

/wellington2021

https://www.wgtn.ac.nz/wellington2021

 September 20

 December 20

 

Delete

/wellington2021/accommodation

https://www.wgtn.ac.nz/wellington2021/accommodation

 September 20

 December 20

 

Delete

/wellington2021/degrees-and-subjects

https://www.wgtn.ac.nz/wellington2021/degrees-and-subjects

 September 20

 December 20

 

Delete

/wellington2021/experience-lectures

https://www.wgtn.ac.nz/wellington2021/experience-lectures

 September 20

 December 20

 

Delete

/wellington2021/home

https://www.wgtn.ac.nz/wellington2021/home

 September 20

 December 20

 

Delete

/wellington2021/maori

https://www.wgtn.ac.nz/wellington2021/maori

 September 20

 December 20

 

Delete

/wellington2021/pasifika

https://www.wgtn.ac.nz/wellington2021/pasifika

 September 20

 December 20

 

Delete

/wellington2021/university-life

https://www.wgtn.ac.nz/wellington2021/university-life

 September 20

 December 20

 

Delete


Mouseflow tracking install steps

Open the metadata for the page in squiz. (If it is a site asset, go to the sites “home” page instead)

  • If the metadata field “External JS - Footer (externalJsFooter #1515678)“ exists, add the asset “mouseflow script current#1913605”. (This is for when Victoria Hub #1321146 metadata schema is in use)

    • If enabling on a home page you must add this to both the site asset and the home page to work, due to a bug in squiz.

  • Otherwise, if the metadata field “afterScripts (afterScripts #385570)” exists, add the following code in the textbox: (This is for when Common Migration #379620 metadata schema is in use)

    • Note, this doesn’t have to be enabled on both homesite and site assets to work.

<!--@@ Mouseflow @@--> %globals_asset_contents_raw:1913605%

Commit the changes.


How to tell if mouseflow is installed

View the page source, do a search for “mouseflow”, and you should find some variation of the following code:

<!-- Mouseflow Current 1913605 --> <script type="text/javascript"> const mouseflowAssetId = "%asset_name% %asset_assetid%"; //Used for debugging on the front end var _mfq = _mfq || []; (function() { var mf = document.createElement("script"); mf.type = "text/javascript"; mf.async = true; mf.src = "//cdn.mouseflow.com/projects/4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580.js"; document.getElementsByTagName("head")[0].appendChild(mf); })(); </script>

Our Mouseflow plan

Currently, we are using the Pro Plan, which has 150k recorded sessions (credits), 20 websites, 12 months of storage and unlimited heat maps.

Recordings are counted in credits, which equals one user session (recording).

Session

A session is created when a new user accesses your site, or when the Mouseflow session ends and the user performs a new action on your site. A Mouseflow session ends if one of the following scenarios occur:

  • The user is inactive for more than 30 min.

  • The user is active on a page for more than 1 hour.

  • The user has more than 100 page views.

  • The user clears browser cookies

  • The user loads the website in an incognito tab.

  • If you perform a 'mouseflow.stopSession()' call at any time on your site.


According to the last 12 month credits used, the most credits we used in a year were around 70k, so we still have room to expand the mouseflow tracking on our site.

Website ID

Website name

Date

Month

Credits used

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2019-11-01T00:00:00

Nov-19

7808

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2019-12-01T00:00:00

Dec-19

13736

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2020-01-01T00:00:00

Jan-20

16861

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2020-02-01T00:00:00

Feb-20

20673

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2020-03-01T00:00:00

Mar-20

33312

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2020-04-01T00:00:00

Apr-20

40743

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2020-05-01T00:00:00

May-20

62257

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2020-06-01T00:00:00

Jun-20

64702

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2020-07-01T00:00:00

Jul-20

57604

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2020-08-01T00:00:00

Aug-20

69315

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2020-09-01T00:00:00

Sep-20

67354

4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580

www.victoria.ac.nz

2020-10-01T00:00:00

Oct-20

67016


Mouseflow tracking code

Used in asset mouseflow script current #1913605, https://cms.wgtn.ac.nz/_designs/common/javascript/client-side/mouseflow-script-current/_admin

<script type="text/javascript"> const mouseflowAssetId = "%asset_name% %asset_assetid%"; //Used for debugging on the front end var _mfq = _mfq || []; (function() { var mf = document.createElement("script"); mf.type = "text/javascript"; mf.async = true; mf.src = "//cdn.mouseflow.com/projects/4a7ff1cf-f5b8-4dd8-95da-13bfe4f4e580.js"; document.getElementsByTagName("head")[0].appendChild(mf); })(); </script>

Custom configuration of mouseflow

 


Bookmarklet to detect if mouseflow code implemented

Put the following code in the url of your bookmark

javascript: (function () { let mouseflowObject, mouseflowScript = false; let mouseflowAsset = null; if (typeof (_mfq) === "object") mouseflowObject = true; document.querySelectorAll("script").forEach((elem) => { if (elem.src.indexOf("cdn.mouseflow.com") >= 0) mouseflowScript = true; }); if (typeof (mouseflowAssetId) === "undefined") mouseflowAsset = 'missing'; else mouseflowAsset = mouseflowAssetId; window.alert("Mouseflow object exists: " + mouseflowObject + "\nMouseflow Script injected: " + mouseflowScript + "\nMouseflow object used: " + mouseflowAsset); })();