Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<script src="https://dev.nextpatient.co/js/{group-name}/track-source.js"></script>

...

From the ‘Report' list, select ‘Tracking/UTM booking report (by date booked)’
For the ‘Offices’ list, select ‘All offices'
For the 'Dates’ option, select the desired report date range.
Once ready, click ‘Download’

...

An alternative solution is to run javascript to append the needed variables to any outbound links to NextPatient. In the example code below, on line 4, the variable ‘utm_source’ is being appended with the value ‘knowledgebase’.

<script> var objects = $(".nextpatient-link"); for (var obj of objects) { obj.href+='?utm_source=knowledgebase'; } </script>
Code Block
Info

The following variables will be reported:

  • 'gclid'

  • '_gl'

  • 'utm_source'

  • 'utm_medium'

  • 'utm_campaign'

  • 'utm_term'

  • 'utm_content'

  • 'liid'