Add Knowledge Tags to Your Website

You are here:
Estimated reading time: 2 min

Knowledge Tags allow you to add schema as well as easily sync entity information from Local SEOPRO to your website.

Note: In order to optimize the SEO benefits of Knowledge Tags, make sure that the following fields are populated with data in the Knowledge Graph: Name, Address, Phone, Photo Gallery (with at least one photo), Website URL, Hours, and Category.

To add Knowledge Tags:

  1. Click Location Optimization in the main navigation.
  2. Click Add Knowledge Tags to Your Website button along the right sidebar.
  3. Add Schema Markup.
    1. Click on the Select Entity button and select the desired entity.
    2. Obtain the Script Tag and add it to the source code of the desired webpage, ideally at the end of thetag.
      • To easily obtain script tags for each of your entities, replace the numbers after location_id= or event_id= with the relevant Store ID or Event ID.
      • To create one script tag for one webpage that includes multiple entities, add multiple Store IDs to the script in the following format:
        • <script async src=”https://knowledgetags.yextpages.net/embed?key=SECRETKEY&account_id=ACCOUNTID&location_id=&location_id=” type=”text/javascript”><script>
          OR
          <script async src=”https://knowledgetags.yextpages.net/embed?key=SECRETKEY&account_id=ACCOUNTID&event_id=&event_id=” type=”text/javascript”></script>
      • Best Practice: The schema should match the visual content on the page. Schema should be added to pages on your website where the primary purpose is to showcase a location, person, or event (e.g., pages that include name, address, phone number, hours, map).
  4. Set up Knowledge Sync.
    1. Obtain embed codes for the fields you would like powered by Local SEOPRO. To view additional entity fields, click on the More Fields link.
    2. Add the embed codes wherever you would like them to appear on your website.
  5. Verify that schema was installed correctly.
    1. Visit Google’s Structured Data Testing Tool.
    2. Enter a URL into the text box, and click RUN TEST.
      • Click on the Scan URL button and enter the URL of the webpage to confirm that the installation was successful.
      • Note: If schema is successfully installed, you will see your entity information listed in the right panel of the Google Structured Testing Tool.
Was this article helpful?
Dislike 0