Content Identification
  • 1 Minute to read
  • Dark
    Light

Content Identification

  • Dark
    Light

Article summary

Syndi requires a website ID and a page ID (the unique identifier for the page or content) in order to publish content to a given page.

The preferred method of content identification is to place the page ID within the HTML element being used for inline or hero content.

Skip to Enhanced Content Types if you are able to place the page ID within the HTML element.

If you cannot leverage the HTML element, an alternative method to setting the page ID is to push it into Syndi. To push the page ID replace the parameter (12345 in the example below) with a macro to dynamically inject the ID. This will set the ID in the javascript context and fetch the relevant content from our service.

Content Identification API

<script type="text/javascript"> 
    window.SYNDI = window.SYNDI || [];  
    SYNDI.push('12345'); //replace with your own page identifier. remove single quotes if using a variable.
</script>

If using a Tag Manager then paste this snippet below the SyndiTag and replace '12345' with the appropriate dynamic variable from your Tag Manager data layer.

If you cannot support this push method, we can configure your SyndiTag to dynamically capture a page ID from either the URL or an object on the page. This is not preferred as the fidelity of the integration will be dependent on your website not evolving.

Please let your Syndigo Account Manager know if you prefer us to scrape the ID and provide the specific location where we can find the page ID.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.