How to: Set Up Tealium for Schema App

Modified on Mon, 6 Jan at 10:24 AM

Tealium is a popular option for enterprise tag management, among other services and offerings. This support document describes the process of setting up the Schema App integration scripts using Tealium. Successfully integrating via Tealium will allow your website to pull JSON-LD from Schema App's cache.


Note: Do not use the Schema App tag available within the Tealium App store - it is out of date and we do not have the ability to update it. Instead, configure a generic tag to ensure you are using the most up-to-date scripts.


 

How To: Create Tealium Tags for Schema App Integration


Step 1: Confirm Project Settings and Locate Integration Scripts within App.Schemaapp.com

Log into your Schema App account and open the Project Settings for domain you are looking to integrate on. Confirm the website URL is correct, and that the Deployment selection is set to Tealium. 



Navigate to the end of the Deployment Settings section to locate the integration scripts. You will need these for the following steps.


Step 2: Create a JavaScript Code Extension


The first script tag you copied in from Schema App contains important information about which account the script is running under as well deployment settings which controls how the script works. To add this we recommend using JavaScript Code Extensions. This must be on the page before the script is added so we recommend using the After Load Rules scope (or earlier scopes) when implementing your callback. 


Using the script editor just copy the parts of the line of without the <script></script> tags meaning you should have something like the following:

// Type your JS code here.
window.schema_highlighter={accountId: "YOUR_ACCOUNT_ID", outputCache: true}

Double check the removed the <script> portion has been removed. Depending on your desired integration configuration, you may have some different parameters.  


Finally make sure that code isn't in any conditions that would prevent it from being on all publically facing pages by default. This is to ensure that data is available when you add your generic tag in the next step. 


Step 3: Create a Generic Tag within Tealium 

Log into Tealium in a new tab and navigate to iQ Tag Management > Tags.

Select +Add Tag to open the Tag Marketplace, and search for "generic tag". Locate the Tealium Generic Tag and click + Add.


This Tealium documentation includes further information on how to add and configure a Generic Tag


Step 4: Configure the Generic Tag as a Callback Function for window.schema_highlighter script

4.1. Provide a unique title for the tag, like "Schema App Deployment"

4.2. Configure the base URL to reference " https://cdn.schemaapp.com/javascript/highlight.js


Step 5: Set the Tags to deploy to all publicly facing pages.

5.1. Ensure the Load Rules show the markup is deploying to All Pages.

5.2. Save your changes.


If you need assistance with your Tealium integration, contact us at [email protected].

For more information, see Tealium Deployment FAQs.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article