Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

...

Current state

URL

Link

Tracking date range

Tracking install date

Request from

Note

https://www

go.wgtn.ac.nz

/study/programmes-courses/postgraduate

Nov. 2020 –

27/11/2020

DE

Installed

https://www

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

intranet.wgtn.ac.nz

/fhss homepage

Installed

https://www.wgtn

intranet.wgtn.ac.nzintranetwgtn.ac.nz

/science homepagehttps://www

heatmap

intranet.wgtn.ac.nz

/engineering homepagehttps://www

?toolbar

heatmap

intranet.wgtn.ac.nz/

wfadi homepagehttps://www homepage

staff

heatmap

intranet.wgtn.ac.nz

/health

intranetwgtn.ac.nz/_recache

heatmap

https://www.wgtn.ac.nz

/education homepagehttps://www.

wgtn.ac.nz/

fgr homepagehttps://www.wgtn

study

heatmap

wgtn.ac.nzwgtn.ac.nz

heatmap

wgtn.ac.nzwgtn.ac.nz

/law homepagehttps://www.

/student/tools

heatmap

wgtn.ac.nz/study/

course

programmes-

planning/appointments

Dec 2020 -

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

/

https://www.

/business

https://www.

courses/courses/by-subject

heatmap

wgtn.ac.nz/library

Intranet homepage not wgtn homepage

Update

heatmap

wgtn.ac.nz/international

heatmap

wgtn.ac.nz/

business

Keep

/business/home

https://www.

accommodation/halls/profiles

heatmap

wgtn.ac.nz/

business/homehttps://www.

students

Keep

/international

heatmap

wgtn.ac.nz/

international

 November 19

Keep

/international/applying 

https://www.

study/programmes-courses/postgraduate

heatmap

wgtn.ac.nz/international/

applying 

 November 19

December 20

Keep

/international/contact-us 

https://www.

open-for-usa

heatmap

wgtn.ac.nz/international/

contact

rethink-

us 

 November 19

December 20

Keep

/international/general-enquiry 

https://www.

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/

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

Keep

/international/home

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

 November 19

Delete

/international/programmes

explore)


Future State

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/

international

study/programmes

 November 19

December 20

Keep

/international/programmes/online-study

-courses/postgraduate

Nov. 2020 –

27/11/2020

DE

Installed

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

international/programmes/online-study

Keep

/international/programmes/online-study/_nocache

fhss homepage

Dec. 2020 -

07/12/2020

DE

Installed

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

international/programmes/online-study/_nocache

Delete

/international/rethink-usa

science homepage

Dec. 2020 -

08/12/2020

DE

Installed

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

international/rethink-usa

 October 20

Keep

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

engineering homepage

Dec. 2020 -

08/12/2020

DE

Installed

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

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

 November 19

December 20

Keep

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

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/

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

 November 19

Keep

/international/why-wellington/_nocache

education homepage

Dec. 2020 -

09/12/2020

DE

Installed

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

international/why-wellington/_nocache

Delete

/international/why-wellington/explore-creativity

https://www.

fgr homepage

Dec. 2020 -

09/12/2020

DE

Installed

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

international/why-wellington/explore-creativity

 November 20

Keep

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

law homepage

Dec. 2020 -

09/12/2020

DE

Installed

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

international

study/

why

course-

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

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

/

https://

www

intranet.wgtn.ac.nz/

international/why-wellington/explore-leadership/_nocache

Delete

/international/why-wellington/explore-sustainability

Intranet homepage not wgtn homepage

Update

/business

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

Keep

/business/home

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

international/why-wellington/explore-sustainability

 November 20

business/home

Keep

/international

/why-wellington/explore-sustainability/_nocache

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

/why-wellington/explore-sustainability/_nocache

Delete

/library

 November 19

Keep

/international/applying 

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

libraryKeep

international/applying 

 November 19

December 20

Delete

/

library

international/

blackboard

contact-us 

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

library/blackboardlibrary homepage

international/contact-us 

 November 19

December 20

Delete

/

library

international/

home

general-enquiry 

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

library/homelibrary homepage

international/general-enquiry 

 November 19

December 20

General enquiry form

Delete

/

maori-hub

international/get-ready-to-study 

https://www.wgtn.ac.nz

/maori-hub

Keep

/maori-hub

/international/get-ready-to-study 

 November 19

December 20

Delete

/international/home

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

maori-hub

international/home

 November 19

Delete

/international/

staff

programmes

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

staff

 June 18

Intranet homepage

Keep

/staff/_performance_timing

international/programmes

 November 19

December 20

Delete

/international/programmes/online-study

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

staff/_performance_timing

Delete

/students

programmes/online-study

Keep

/international/programmes/online-study/_nocache

https://www.wgtn.ac.nz

/students

 October 18

mytools shows on the screen

Update

/study

/international/programmes/online-study/_nocache

Delete

/international/rethink-usa

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

study

international/rethink-usa

 October 20

Keep

/

study

international/

apply-enrol

scholarships-fees  (new site launched Nov 2019)

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

study

international/

apply-enrol

Keep

/study/events-visits/open-day

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/

study

international/

events-visits/open-day

Delete

/study/home

why-wellington  (new site launched Nov 2019)

 November 19

Keep

/international/why-wellington/_nocache

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

study/homeFuture student homepage

international/why-wellington/_nocache

Delete

/

study

international/

programmes

why-

courses

wellington/

courses/by

explore-

subject

creativity

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

study

international/

programmes

why-

courses

wellington/

courses/by

explore-

subjectit's search page instead of subject page

creativity

 November 20

Keep

/

study/university-life

international/why-wellington/explore-creativity/_nocache

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

study/university-life

Keep

/taihonoa

international/why-wellington/explore-creativity/_nocache

Delete

/international/why-wellington/explore-leadership

https://www.wgtn.ac.nz

/taihonoa

/international/why-wellington/explore-leadership

 November 20

Keep

/

wellington2021

international/why-wellington/explore-leadership/_nocache

https://www.wgtn.ac.nz

/wellington2021

 September 20

 December 20

Delete

/wellington2021/accommodation

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

Delete

/international/why-wellington/explore-sustainability

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

wellington2021/accommodation

 September 20

 December 20

Delete

/wellington2021/degrees-and-subjects

why-wellington/explore-sustainability

 November 20

Keep

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

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

wellington2021

international/

degrees

why-

and-subjects

 September 20

 December 20

wellington/explore-sustainability/_nocache

Delete

/

wellington2021/experience-lectures

library

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

wellington2021/experience-lectures

 September 20

 December 20

Delete

library

Keep

/

wellington2021

library/

home

blackboard

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

wellington2021

library/

home

blackboard

 September 20

 December 20

library homepage

Delete

/

wellington2021

library/

maori

home

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

wellington2021

library/

maori

home

 September 20

 December 20

library homepage

Delete

/

wellington2021/pasifika

maori-hub

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

wellington2021/pasifika

 September 20

 December 20

Delete

/wellington2021/university-life

maori-hub

Keep

/maori-hub/home

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

wellington2021/university-life

 September 20

 December 20

Delete

Mouseflow tracking code

%begin_globals_asset_metadata_pageType^eq:homePage%
<script type="text/javascript">
// Enable mouseflow tracking on the page

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>
%end_asset%
<!-- mouseflow -->

Mouseflow tracking install steps

Within squiz, if using any of the customisations under the new hub design (Victoria Hub#1321146) use the following steps:

  1. Go to the asset metadata

  2. Under the metadata field “External JS file (externalJs #1323850)” add the asset “mouseflow #1785436”. If there is an asset already in the External JS file metadata, put a request in for a developer to try and include mouseflow in the existing metadata.

  3. Commit, then preview and view page source and search for ‘mouseflow’ and you should see the following script:

    Code Block
    languagehtml
    <script type="text/javascript">
       // Enable mouseflow tracking on the page
    
       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>

If using a customization of the old design (Common#387822) use the following steps:

  1. Go to the asset metadata

  2. Under the metadata field “enableMouseflowVUW (enableMouseflowVUW #364679)”, select enableMouseFlow

  3. Commit, then preview and view page source, search for ‘mouseflow’ and you should see the following script:

    Code Block
    <script type="text/javascript">
       // Enable mouseflow tracking on the page
       var enableMouseflow = "1";
       if(enableMouseflow == "1"){
       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>
  4. Ensure that the line var enableMouseflow = "1"; shows = “1” and not = “0” otherwise the script will not run.

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.

...

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

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.

Code Block
<!--@@ 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:

Code Block
languagehtml
<!-- 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

...

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

...

.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

2020

2019-

06

11-01T00:00:00

Jun

Nov-

20

19

64702

7808

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

www.victoria.ac.nz

2020-07

2019-12-01T00:00:00

Dec-19

13736

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

www.victoria.ac.nz

2020-01-01T00:00:00

Jul

Jan-20

57604

16861

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

www.victoria.ac.nz

2020-

08

02-01T00:00:00

Aug

Feb-20

69315

20673

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

-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

Code Block
languagehtml
<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

Expand
titlemouseflow bookmarklet
Code Block
languagejs
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);
})();