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

https://www

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

intranet.wgtn.ac.nz

/fhss homepagehttps://www homepagehttps://www

intranet.wgtn.ac.nz

/science

intranetwgtn.ac.nz

heatmap

intranet.wgtn.ac.nz

/engineering homepagehttps://www

?toolbar

heatmap

intranet.wgtn.ac.nz/

wfadi homepagehttps://www.wgtn

staff

heatmap

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

health homepage

_recache

heatmap

https://www.wgtn.ac.nz

/education homepagehttps://www.wgtn

wgtn.ac.nz/study

heatmap

wgtn.ac.nzwgtn.ac.nz

heatmap

wgtn.ac.nzwgtn.ac.nz/

fgr homepagehttps://www.

student/tools

heatmap

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

heatmap

wgtn.ac.nz/

law homepage
  • 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.

library

heatmap

wgtn.ac.nz/international

heatmap

wgtn.ac.nz/accommodation/

Intranet homepage not wgtn homepage

Update

/business

https://www.

halls/profiles

heatmap

wgtn.ac.nz/

business

Keep

/business/home

https://www.

students

heatmap

wgtn.ac.nz/study/

business

programmes-courses/

home

Keep

/international

https://www.

postgraduate

heatmap

wgtn.ac.nz/international

 November 19

Keep

/international/applying 

https://www.

/open-for-usa

heatmap

wgtn.ac.nz/international/

applying 

 November 19

Keep

/international/contact-us 

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

 November 19

Keep

/international/general-enquiry 

https://www.

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/

international/general-enquiry 

 November 19

General enquiry form

Delete

/international/get-ready-to-study 

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

 November 19

Keep

/international/home

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

 November 19

Delete

/international/programmes

https

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

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

Keep

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

wfadi 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

health homepage

Dec. 2020 -

09/12/2020

DE

Installed

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

international/why-wellington/_nocache

Delete

/international/why-wellington/explore-creativity

education 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

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

Delete

/international/why-wellington/explore-leadership

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/

international

study/

why

course-

wellington

planning/

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

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://intranet.wgtn.ac.nz/

Intranet homepage not wgtn homepage

Update

/business

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

international/why-wellington/explore-sustainability

 November 20

business

Keep

/

international/why-wellington/explore-sustainability/_nocache

business/home

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

international/why-wellington/explore-sustainability/_nocache

Delete

/library

business/home

Keep

/international

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

library

international

 November 19

Keep

/

library

international/

blackboard

applying 

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

library

international/

blackboardlibrary homepage

applying 

 November 19

December 20

Delete

/

library

international/

home

contact-us 

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

library/homelibrary homepage

international/contact-us 

 November 19

December 20

Delete

/

maori

international/general-

hub

enquiry 

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

maori-hub

Keep

/maori-hub/home

international/general-enquiry 

 November 19

December 20

General enquiry form

Delete

/international/get-ready-to-study 

https://www.wgtn.ac.nz

/maori-hub/home

/international/get-ready-to-study 

 November 19

December 20

Delete

/

staff

international/home

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

staff

 June 18

Intranet homepage

Keep

/staff/_performance_timing

international/home

 November 19

Delete

/international/programmes

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

staff/_performance_timing

international/programmes

 November 19

December 20

Delete

/

studentshttps:

international/

/www.wgtn.ac.nz/students

 October 18

mytools shows on the screen

Update

/

programmes/online-study

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

Keep

/international/programmes/online-study/

apply-enrol

_nocache

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

study

programmes/

apply-enrolKeep

online-study/_nocache

Delete

/

study

international/

events-visits/open-day

rethink-usa

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

study

international/

events-visits/open-day

Delete

/study/home

rethink-usa

 October 20

Keep

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

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

study/homeFuture student homepage

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

 November 19

December 20

Delete

/

study

international/

programmes-courses/courses/by-subject

why-wellington  (new site launched Nov 2019)

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

study

international/

programmes-courses/courses/by-subject

it's search page instead of subject page

Keep

/study/university-life

why-wellington  (new site launched Nov 2019)

 November 19

Keep

/international/why-wellington/_nocache

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

study

international/

university-life

Keep

/taihonoa

why-wellington/_nocache

Delete

/international/why-wellington/explore-creativity

https://www.wgtn.ac.nz

/taihonoa

/international/why-wellington/explore-creativity

 November 20

Keep

/

wellington2021

international/why-wellington/explore-creativity/_nocache

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

wellington2021

 September 20

 December 20

Delete

/wellington2021/accommodation

international/why-wellington/explore-creativity/_nocache

Delete

/international/why-wellington/explore-leadership

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

wellington2021/accommodation

 September 20

 December 20

Delete

/wellington2021/degrees-and-subjects

international/why-wellington/explore-leadership

 November 20

Keep

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

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

wellington2021

international/

degrees

why-

and-subjects

 September 20

 December 20

wellington/explore-leadership/_nocache

Delete

/

wellington2021/experience-lectures

international/why-wellington/explore-sustainability

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

wellington2021

why-wellington/

experience

explore-

lectures

sustainability

 September /wellington2021/home

 November 20

 December 20

Delete

Keep

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

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

wellington2021/home

 September 20

 December 20

international/why-wellington/explore-sustainability/_nocache

Delete

/

wellington2021/maori

library

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

wellington2021/maori

 September 20

 December 20

Delete

library

Keep

/

wellington2021

library/

pasifika

blackboard

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

wellington2021

library/

pasifika

 September 20

 December 20

blackboard

library homepage

Delete

/

wellington2021

library/

university-life

home

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

wellington2021

library/

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

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

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.

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.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

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);
})();