Adding the Request Script button to your website Follow

How do I add ‘Request Script’ button or link to my website?

There are 2 options to add a link to your website. You can:

1. Use a link to your own text or image (Easiest method) OR

2. Use a HealthEngine "Request Script" button 

 

1. To add a link to your website add this URL with your practice ID

https://healthengine.com.au/scripts/p/YOURPRACTICEID/

Eg. https://healthengine.com.au/scripts/p/5599

You’ll need to grab your Practice ID which are the numbers in your web browser’s URL when you are logged into Prac Admin. (5599 in the shot below).

URL_for_Scripts_Button.PNG

2. To add the HealthEngine "Request Script" button to your website

Scripts_Button.PNG

You’ll need to grab your Practice ID which are the numbers in your web browser’s URL when you are logged into Prac Admin. You will also need to insert 2 separate pieces of HTML code into the webpage where you want to the button to appear. One block of code goes into the <head> of the page and the other goes into the <body> where you would like the button to appear. If you want the button to appear on multiple pages on your website, you'll need to add this code into every page.

URL_for_Scripts_Button.PNG

  1. <!-- HealthEngine Prescriptions. Place the block of code in the <head> of your HTML →

<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://healthengine.com.au/scripts/practices/practicePlugin.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'he-practice-js'));
</script>
<!-- HealthEngine Prescriptions -->

2. <!-- HealthEngine Prescriptions. This is the button html. Place this in the <body> where you would like the button to appear-->
<div class="he-scripts-btn"
data-practice="YOUR PRACTICE ID">
</div>

Example -  <div class="he-scripts-btn"
data-practice=
5599>
</div>

Article is closed for comments.

Comments

Have more questions? Submit a request