Back

To improve performance when loading the Universal Tag from behind the Chinese firewall, you can use tags.tiqcdn.cn to expedite content delivery inside mainland China, as well as elsewhere in the world. tags.tiqcdn.cn is delivered by Akamai through the closest node to the user, which can be inside or outside the firewall.

If you cannot modify your site source code to use tags.tiqcdn.cn, you can add the China CDN Deployment Extension to your profile. This extension determines whether the user is inside or outside China. When the user is in China, tags.tiqcdn.cn is used to deliver content instead of tags.tiqcdn.com. For more information, see China CDN Deployment Extension.

In this article:

Table of Contents Placeholder

Considerations

  • Choose a method for loading the universal tag
    • If you can modify the source code for your site, use tags.tiqcdn.cn in the code you add to your website.
    • If you cannot modify the source code for your site, use the China CDN Deployment Extension.
  • Use a unique profile
    Use a unique profile for each of your websites. Using multiple profiles allows you to tag each website and customize the delivery of all Tealium-based content for that website.
  • tags.tiqcdn.cn
    tags.tiqcdn.cn is available from Akamai through the closest node to the user. This means you can use a .cn domain for users outside the China firewall with no impact on performance for those users.
  • Internet Content Provider (ICP) license
    For all web content to be delivered in mainland China, your website requires a valid ICP license.

Updating the Code for Your Website

  1. Create a profile for the .cn domain. For more information, see Managing Profiles.
  2. Update the Publishing URLs in Publish Configuration to specify the .cn CDN path.For example:
    https://tags.tiqcdn.cn/utag/your_account/your_profile/dev/utag.js
    https://tags.tiqcdn.cn/utag/your_account/your_profile/qa/utag.js
    https://tags.tiqcdn.cn/utag/your_account/your_profile/prod/utag.js

    For more information, see Publish Configuration.

  3. Add the following JavaScript , which uses tags.tiqcdn.cn, to the HTML source.
    <script type="text/javascript">
      (function(a,b,c,d){
        a='https://tags.tiqcdn.cn/utag/your_account/your_profile/prod/utag.js';
        b=document;c='script';d=b.createElement(c);d.src=a;d.type='text/java'+c;d.async=true;
        a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a);
      })();
    </script>

Using the China CDN Deployment Extension

Create and configure a China CDN Deployment Extension to determine the user's location and serve utags.js from the appropriate CDN. For more information on creating an extension, see China CDN Deployment Extension.