Welcome to vCita support

For better service, login to your account


Add Tracking and Conversion to your vCita account



Tracking & Conversion

Add your Google Analytics tracking code to your vCita account and monitor your client's actions on your LiveSite forms and scheduler.

Use your Google Analytics account to learn:


  • How many clients started or completed a specific call to action on your LiveSite like scheduling a meeting, share document, send a message or make payment.
  • How many clients visited your vCita Public Profile page and the Client Portal
  • See the source URL of each completed request and gain insight of which campaigns drive your clients to take actions


All this information will be displayed on your Google Analytics account.

You can also measure the success of your advertising campaigns by adding Google Adwords, Facebook or other conversion code.

The conversion code will be called every time a LiveSite call to action was completed

How to add tracking to your vCita account:

1. Add Google Analytics tracking ID to your vCita account:

Login to your account and choose Settings > Conversion Tracking
Under Tracking ID paste your Google Analytics account ID 
click here to learn where you can find you Google Analytics account ID

2. Add vCita code to your website to track the source of the lead

In order to view and track your clients’ actions and their source in Google Analytics, you should add the following code to your website, right after the existing Google Analytics code:

// Gets the client ID and let LiveSite know about it
ga(function(tracker) {
  var clientId = tracker.get('clientId');
  var timestamp = new Date().getTime()
  var setClientIdUrl = 'https://www.vcita.com/widgets/tracking/YOUR-VCITA-ACCOUNT-NICKNAME/set_client_id?client_id=' + clientId + '&timestamp=' + timestamp; 
  var ifrm = document.createElement("iframe");
  ifrm.setAttribute("src", setClientIdUrl);
  ifrm.setAttribute("style", "width:1px;height:1px;position:fixed;bottom:-1px;left:-1px;display:none;");

  • To retrieve your vCita account nickname navigate to My LiveSite and in the upper right, you'll find the path for your LiveSite page. Your account nickname is the code at the end of https://live.vcita.com/site/YOUR-VCITA-ACCOUNT-NICKNAME 
    NOTE: If you have customized your URL, that will be the nickname.



View the results in Google Analytics


  • On your Google Analytics account, on the left navigation bar select Behavior > Events >Top Events


The events below will be reported under the “LiveSite” category:

    • appointment-start
    • appointment-completed
    • payment-form-start
    • payment-form-completed
    • leave-details-start
    • leave-details-completed
    • contact-form-completed 
    • document-start
    • document-completed
    • profile-page
    • clients-portal




In Google Analytics, you can set specific Goals ad see the goal completion for any audience

  • Login to your Google Analytics account
  • Navigate to Admin> New Goal > Choose type - Event
    Set event parameters to match any completed action
  • Set Category as 'LiveSite'

  • Set Action as “Regular Expression” = .*completed

  • Alternatively you can select a specific action completed or started from the LiveSite call to action list above



How to add conversion code to your vCita account.

Whether you are using Google AdWords, Facebook or any other service to detect conversion, you can easily add any conversion code to your vCita account and learn about the effectiveness of your marketing campaigns.

To add Conversion Code to your vCita account (AdWords, Facebook's pixel tracking etc.)  
Login to your account and choose Settings > Conversion Tracking
Paste your conversion code in the Conversion Code (HTML) box.
click here to learn where you can find you Google AdWord tracking code 
click here to learn where to find Facebook Pixel Tracking code

You can also set up conditional conversion, based on specific services or events.

The following code is an example of how to measure conversion for specific services set up in vCita,


<!-- Google Code for Purchase Conversion Page -->

<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = DEFAULT_CONVERSION_ID;
var google_conversion_label = DEFAULT_CONVERSION_LABEL;

var conversion_type = "%type%";
var name = "%name%";

if (name == "Service 1 name") {
google_conversion_id = CONVERSION_1_ID;
google_conversion_label = "CONVERSION_1_LABEL";
} else if (name == "Service 2 name") {
google_conversion_id = CONVERSION_2_ID;
google_conversion_label = "CONVERSION_2_LABEL";

var google_conversion_language = "en_US";
var google_conversion_format = "1";
var google_conversion_color = "666666";

if ("%price%" != "") {
var google_conversion_value = %price%;

/* ]]> */
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"></script>


The Service 1 name in the code above, should be copied from your vCita account. This is the name of the service you have set up in your vCita account under Settings>Services.
The CONVERSION_1_ID & CONVERSION_1_LABEL should be generated and copied from AdWords. 

You can add as many conversion codes as you'd like, and from any conversion tracking system (AdWords, Facebook etc).


Related articles:
How can I know the source url of each engagement? 


Still have questions? Contact us


Was this article helpful?
7 out of 7 found this helpful
Have more questions? Submit a request


Article is closed for comments.