Overview
The Virtual Call Tracking script and server are configured to automatically send goal completions to Optimizely where it detects Optimizely being used on your website. To identify these goal conversions in Optimizely, create a custom goal for the event VCT_call
.
URL Redirect Experiments
If you use URL redirect experiments, you must add the following JavaScript directly before the Optimizely script in the HTML. If you do not do this, the referrer information is lost and you will be unable to report on traffic sources and traffic types if the redirect experiment is the user landing page.
<script type="text/javascript">window['s'] = {};</script>
Please note: this is not compatible with SiteCatalyst.
Set Up Phone Call Tracking in Optimizely
Step 1
Log in to your Optimizely account and select the experiment are running.
Step 2
In the Experiment Details window on the right hand side of the screen scroll to the goals section and click Edit.
Step 3
If you experiment hasn’t started running click on the Create a New Goal button and move onto Step 6. If your experiment is currently running click on go to the editor and continue to Step 4.
Step 4
Click on the Set Up Goals button in the top right hand side of the page.
Step 5
In the window that opens click the Create a New Goal button.
Step 6
Enter a goal name, we suggest Phone Call. Change the What to Track drop down to Custom events. And in the Custom Event to track field enter _VCTcall and click Save.
Viewing Phone Calls in Optimizely
Step 1
Log in to your Optimizely account and select the experiment are running.
Step 2
In the Experiment Details window on the right hand side of the screen click the Results button.
Step 3
Scroll down until you see the Phone Call goal.