How To Add A Tracking Code To A Website

To add a tracking code to your website, please follow these instructions:

  1. Visit client.patientsites.com and log in to your PatientSites Web Editor account.
  2. Access the Settings option from the top menu. Then, hover over Website and select Configuration.
  3. The tracking code can be added to the "Upper Site Embed Code" or "Lower Site Embed Code" field:
  4. a. Upper Site Embed Code: This field is specifically for adding code to the <head> section of your website. If the tracking code instructions specify that it should be added to the <head> section, you need to enter the code in this field. For example, Google Analytics 4 (GA4) code will be added here.

    b. Lower Site Embed Code: This field is designed for code placement in the <body> section of your website. Unless instructed otherwise, it is recommended to add your tracking code to this field to avoid slowing down the load times for your website. Facebook Pixel and other tracking codes can be added to this field.

  5. Once you have added the relevant tracking code to the appropriate field, click on the Save Changes button to save the code.