How Should a Services Business Install Answerbase Conversion Tracking Code?
NOTE: This is documentation of how a Services Business should install the conversion tracking code, if you're an Ecommerce store selling products online you should use the document on How to Insert Answerbase Ecommerce Conversion Tracking Code.
For Services sites, Answerbase's goal is to ensure that you get a very healthy return on your investment for the platform, and in order to do that for a services based business it's best to track the results and how many leads your Answerbase content and engagement is assisting in. To track this we need you to place our conversion tracking code into your site at the end of the customer journey as they engage your site, after the event that you've determined that the customer has accomplished the end goal and you can attribute value to that goal Most times for a Services business this will be when the visitor turns into a lead.
A couple notes on the page(s) you should integrate into:
Once you've determined what pages make sense to identify a valuable conversion/action, you can manage the integration.
Where is the Conversion Tracking Code
You can find your ecommerce tracking code in your administration site under:
Integration > Conversion Tracking
You'll see it here within your navigation in your admin site:
Once you click on that, you'll see the code there to copy and integrate into your site.
How to Integrate the JavaScript Snippet
You'll see the tracking code that you need to insert into your order confirmation page, similar to this:
Notice that there are a several variables but the most common one (and required one) to pass in for a services site are as follows:
You can just make sure that is filled out and we'll be able to do our job in logging the value of the customers getting to that stage on your site.
Other parameters (not required and not important for most use-cases)
There are some other parameters that if you have the ability to pass in, they can be used to create more value but are typically not necessary for a services use-case. The other parameters and a summary of what they can be used for is the following:
As mentioned in the above bullet points, if multiple services are associated with an inquiry/demo you can add more than one value into the parameter and separate them by commas to cover each of the services that were inquired about. Here is an example of what that would look like.
NOTE: You need to make sure that all the required parameters are filled out, but if you are not going to use some parameters then they should not be defined at all within the script.
Testing Your Integration
You should test a submission of the form(s), to ensure that the parameters have been passed in the Answerbase tracking script appropriately. You can see detailed testing instructions below:
How to Test if Answerbase Conversion Tracking Code is Working
Our goal is to ensure that Answerbase is giving you a very healthy return on investment so you should see that in your conversion reports. If you're not seeing results that you'd like to see, please contact Answerbase Support and we can look to assist you in order to ensure you've configured your Answerbase to see the results you're looking for.
For Services sites, Answerbase's goal is to ensure that you get a very healthy return on your investment for the platform, and in order to do that for a services based business it's best to track the results and how many leads your Answerbase content and engagement is assisting in. To track this we need you to place our conversion tracking code into your site at the end of the customer journey as they engage your site, after the event that you've determined that the customer has accomplished the end goal and you can attribute value to that goal Most times for a Services business this will be when the visitor turns into a lead.
A couple notes on the page(s) you should integrate into:
- Contact Form Submission Page: If your goal is to get a customer to contact you, you probably have a contact page on your site and that is where we want to acknowledge when the Q&A engagement and content leads the user to completing that form. If you have a confirmation page that you send the user to after they submit the form, that would be the best option to integrate our conversion tracking code (if it exists). But, many forms now just give a confirmation message after submission on the page that they are already on....and if you do that you should integrate our conversion tracking script right on the page that the contact form resides on....so we can understand when the customer gets to that page.
- Schedule a "Schedule a Call/Demo" Page: If you have an option to schedule a call or a demo, the confirmation page after that call is scheduled is best to have the conversion tracking as well. As with the contact form, if there is no specific confirmation page you can just integrate it into the page where they start their journey to schedule a demo.
Once you've determined what pages make sense to identify a valuable conversion/action, you can manage the integration.
Where is the Conversion Tracking Code
You can find your ecommerce tracking code in your administration site under:
Integration > Conversion Tracking
You'll see it here within your navigation in your admin site:
Once you click on that, you'll see the code there to copy and integrate into your site.
How to Integrate the JavaScript Snippet
You'll see the tracking code that you need to insert into your order confirmation page, similar to this:
<script src="https://YOUR-ACCOUNT-VALUE.services.answerbase.com/javascript/widget/conversion-tracking.min.js"
data-sale_total="<AMOUNT>"
</script>
Notice that there are a several variables but the most common one (and required one) to pass in for a services site are as follows:
- data-sale_total (Required): This value is the total currency value of the sale that was just submitted. Looking at the above example, it would be replacing the <AMOUNT> value shown in that example script.
You can just make sure that is filled out and we'll be able to do our job in logging the value of the customers getting to that stage on your site.
Other parameters (not required and not important for most use-cases)
There are some other parameters that if you have the ability to pass in, they can be used to create more value but are typically not necessary for a services use-case. The other parameters and a summary of what they can be used for is the following:
- data-email: This value is the email address of the user who just submitted the form. Looking at the above example, it would be replacing the <EMAIL> value shown in that example script.
- data-productId: This value is the unique ID that you have identified for the specific service they are inquiring about. Looking at the above example, it would be replacing the <ID> value shown in that example script. If there was more than one ID, you can simply add additional ID values and separate each ID with a comma.
- data-price: Replace the <PRICE> value with the lead generation value of the service (or services) that were part of the contact. If more than one service was inquired about, you can simply add additional values and separate each value with a comma. Just make sure that the values are in the same order as the services represented in the "data-productId" parameter and other values noted above.
As mentioned in the above bullet points, if multiple services are associated with an inquiry/demo you can add more than one value into the parameter and separate them by commas to cover each of the services that were inquired about. Here is an example of what that would look like.
<script src="https://YOUR-ACCOUNT-VALUE.services.answerbase.com/javascript/widget/conversion-tracking.min.js"
data-sale_total="<AMOUNT>"
data-email="<EMAIL>"
data-productId="<ID-1>,<ID-2>,<ID-3>"
data-sku="<SKU-1>,<SKU-2>,<SKU-3>"
data-price="<PRICE-1>,<PRICE-2>,<PRICE-3>"
>
</script>
NOTE: You need to make sure that all the required parameters are filled out, but if you are not going to use some parameters then they should not be defined at all within the script.
Testing Your Integration
You should test a submission of the form(s), to ensure that the parameters have been passed in the Answerbase tracking script appropriately. You can see detailed testing instructions below:
How to Test if Answerbase Conversion Tracking Code is Working
Our goal is to ensure that Answerbase is giving you a very healthy return on investment so you should see that in your conversion reports. If you're not seeing results that you'd like to see, please contact Answerbase Support and we can look to assist you in order to ensure you've configured your Answerbase to see the results you're looking for.