Conversion Tracking and Google Analytics
With vcita Conversion Tracking, you can add your Google Analytics tracking code to your vcita account and monitor your client's actions on vcita forms and scheduler.
Use your Google Analytics account to learn:
- How many clients started or completed a specific call to action on your Client Portal, like scheduling a meeting, sharing a document, sending a message or making a 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 into which campaigns drive your clients to take actions
All this information will be displayed in your Google Analytics account.
IMPORTANT: Please do not use Google Tag Manager. We are not compatible with Tag Manager and recommend that you add the conversion code mentioned below to your website header.
No Personal Identifiable Information (PII) is sent to Google Analytics or other systems as a result of conversion tracking. Conversion tracking through vcita follows HIPAA standards and regulations.
To add Google Analytics Conversion Tracking to your website, please follow the steps below.
There are 2 parts and both must be completed for vcita events to be tracked.
Part 1 - Adding the UA Tracking ID to vcita
1. From your vcita account, navigate to Settings > Conversion Tracking
2. In a separate tab, log in to Google Analytics in the Tracking ID field, paste your Google Analytics account ID. To locate this information, log into your Google Analytics Page > Click on Admin
3. In the 3rd column, you should see your UA code. If you cannot locate your UA code, please contact Google Analytics Support for assistance.
4. Copy and Paste your UA code into the tracking ID field in vcita
Part 2 - Adding the Conversion Code to your Website
1. In vcita, go to Client Portal > Client Portal URL
Click on the pencil and grab the info at the end of your URL. Copy the name after the https://live.vcita.com/site/ You can see below the nickname is platinumsolo for this demo account.
You will need this name from your URL + your UA- number from the above steps from Google Analytics. Replace the following bolded areas in the code below, with that information.
Below is the code that needs to be added to your website header
NOTE: UA-XXXXX-Y in the above example should be replaced by your own Google Analytics account id.
and YOUR-VCITA-ACCOUNT-NICKNAME should be replaced with your account nickname before you add this to your website.
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXX-Y', 'auto');
ga('send', 'pageview');
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 + '×tamp=' + 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;");
document.body.appendChild(ifrm);
});
</script>
<!-- End Google Analytics -->
Proceed to your website hosting service for your website, and add the above code to your website header. Please contact your web hosting service for specific instructions on how to add code to your website header.
Note: It is not recommended to use Google Tag Manager. Please add the code above directly on your website.
How to view your conversion stats in Google Analytics
1. Once you are logged into Google Analytics, go to Events > Pages
You can also view these under Events>Top Events
Note: Events can take up to 24 hours to show.
Which Client Portal events are tracked in Google Analytics:
For every client action in the client portal that is tracked in Google analytics, vcita sends the following parameters:
- %clientid%
- %activityid%
- %event%- client portal (Previously LiveSite)
- %type%
- %name%
- %price% (Only for relevant events)
We also have a list of possible parameters for events from vcita to Google Analytics:
%type% | %name% | %price% |
Scheduling |
“scheduling_entry_page“ |
|
Scheduling |
“scheduling_service_selected“ |
|
Scheduling |
“scheduling_provider_selected“ |
|
Scheduling |
“scheduling_date_time_selected“ |
|
Scheduling |
“scheduling_filled_detailes |
|
Scheduling |
“scheduling_booking_success“ |
|
File_upload |
“file_upload_entry_page“ |
|
File_upload |
“file_upload_success“ |
|
contact_us |
“contact_us_entry_page” |
|
contact_us |
“contact_us_message_success” |
|
get_directions |
“get_directions_entry_page“ |
|
payment |
“payment_entry_page“ |
|
payment |
“payment_checkout_dialog_open“ |
{price} |
payment |
“payment_checkout_success“ |
{price} |
payment |
“payment_checkout_discard“ |
{price} |
payment |
“payment_checkout_error“ |
{price} |
purchase_package |
“purchase_package_entry_page“ |
|
purchase_package |
“purchase_package_item_selected“ |
{price} |
purchase_package |
“purchase_package_checkout_dialog_open” |
{price} |
purchase_package |
“purchase_package_checkout_success“ |
{price} |
purchase_package |
“purchase_package_checkout_discard“ |
{price} |
purchase_package |
“purchase_package_checkout_error“ |
{price} |
How to set specific goals within GA
In Google Analytics, you can set specific Goals to track Google Ads or to see the goal completion for any audience.
Here are the steps to do so:
1. Login to your Google Analytics account
2. Navigate to Admin> Goals
3. Click on New Goal > Choose type - Event
4. Once in New Goal, scroll down and click the radio button for “Custom”
5. Name your goal whatever you would like and choose Event
6. Set your category as “LiveSite”
7. Set action as “Regular Expression’ = .*completed
As an alternative, you can select a specific action completed or started from LiveSite call to action list, such as “.*selected or .*success
Also - you can also verify your goal to ensure it works. Make sure to save!
Note that goals do not work for group events.
FAQs
Do you support GA4?
At this time, we do not yet support GA4, but we plan to be ready to transition by the June 2023 deadline.
Does Analytics pick up bookings from the back office calendar?
No, but it will pick up any bookings created from the client portal widget or booking links.
Does Analytics pick up events?
Analytics picks up the events that are listed above.
Can I track specific ads that direct to the vcita widget?
We do not support Google Ads integration, however, you are able to track ads by creating goals as in the above example. For more information about Google Ads and Goal Tracking, we recommend you contact Google to assist you or view this article from Google for more information.
Can I use Google Tag Manager with vcita?
We do not support the use of Google Tag Manager and if you have Tag Manager installed on your site, the vcita events will not populate.
Related articles:
How can I know the source url of each engagement?
Comments
0 comments
Article is closed for comments.