If you're integrating into a services website, you want to identify the different "Services" that you provide and you'll want to ensure that those are defined when you insert the widget.
This documentation covers a services site that has a multi-level taxonomy and navigation of different categories of services they provide represented on their site. If you don't have mutliple levels or categories of services, you should follow our
Documentation on Services Integration without Categories, but if you do have categories of services and pages to represent those...continue with this document.
For example, let's say that you're an accountant with a website that has a "Services" section with landing pages on the different services you offer....see here:
![](https://data3.answerbase.com/answerbase/help.answerbase.com/UserFiles/Answers202406/questionImage-1-20084010.jpg)
In this case, you provide the following services with a landing page for each
- Tax Services for Individuals > Personal Financial Planning
- Tax Services for Individuals > Estate Planning
- Business Services > (with several options under here as well)
- Tax Services > (with several options under here as well)
- Forensic Accounting
- Expatriate Tax Services
- Cost Segregation Analysis
The reason you have different landing pages for each of those services...is because somebody looking for those services will be doing searches for those specific services and you'll want to service them through organic and paid search. Similarly, you can have Answerbase Q&A power content specific to each of those services.
Let's go thorough a sample so you can understand how you may approach this for your services site. For this example, let's say that we have the above accounting service and we're going to start approaching the integration....let's start with the first set of services like this:
Tax Services for Individuals > Estate Planning
Since we have a category of servcies and then services underneath it, let's tackle the category of services first.
IMPORTANT: If you don't have "Categories of Services" and just have a few services on their own....you can skip this part and go to the next section.
Category Page Integration (only if applicable)Using the example above....if you have a specific landing page for "
Tax Services for Individuals" then you'll want to add the Q&A widget to that category of services....and identify them as "Product Categories" using the Product Category parameters here:
Review the Product Category ParametersFor example, for the example above...you may fill out this:
<script src="https://yoursite.services.answerbase.com/javascript/widget/full-featured-widget.js" type="text/javascript"
data-external-product-category-id="service-01"
data-product-category-title="Tax Services for Individuals"
data-product-category-url ="https://examplesite.com/individual-tax-services">
</script>
It's likely that you may not have a unique "data-external-product-category-id", but you can just make that up and just make sure it's unique....we just need to make sure it's not the same as another/different product category. For example, if you have 5 different categories of services you may be able to use the following:
- "service-01"
- "service-02"
- "service-03"
- "service-04"
- "service-05"
No need to over complicate it if you don't have something that is important to you, we just need a unique value there so when the page loads...that is what we use to understand what category we're looking at and what content to show/associate with it. Once you've managed your category page integrations....as you're pages load...Answerbase will be able to see/save those categories and understand what they are. Then we need to move on to the integration into the actual services pages.
Integration Into Services Details PagesFor each service you provide, you likely have a landing page for each specific service. So, using the example from above.....that first one is "Estate Planning". So, to manage this, when you integrate you'll want to identify each of these services in your parameters as different "Products" using the appropriate parameters as shown here:
Review the Product ParametersHere is an example of how this may look:
<script src="https://yoursite.services.answerbase.com/javascript/widget/full-featured-widget.js" type="text/javascript"
data-insert-after=".service-description"
data-product-external-id="service-01-00001"
data-product-title="Estate Planning"
data-product-url="https://dgbarrcpa.com/forensic_accounting.php"
data-product-description="We offer forensic accounting services....etc"
data-product-association-product-category="service-01">
</script>
You can see that there is a "data-product-external-id" value which is really just a unique value for this specific service....you can make this up if you don't have anything that you maintain on your end, we just need to make sure it's unique for each of your services. What the above script will do is ensure we can show/associate Q&A that is related to that specific service when a visitor is viewing the page...and ensure that we can show them relevant content related to that specific service.
IMPORTANT NOTE: You'll also see a "data-product-association-product-category" in the above example, which is only relevant if you have categories of services identified on your site...and this allows us to recognize your services taxonomy and how they all related to each other. So, if you don't manage those service categories, you can just ignore that parameter.
Next Step - Integrate Under All Your Articles or Blog PostsWe recommend that after your integrated into your services pages, that you also
integrate under all of your articles or blog posts. This helps ensure that after we're done optimizing your services pages, we can start working on optimizing your site for all of the topics that are relevant to your target audience so we can drive as much targeted traffic to your site as possible to increase the number of leads we're able to generate for your business.
Document on How to Integrate Answerbase Q&A Into Article Pages