Add header and footer code

Add header and footer code in dynamic tag management.

  1. Copy the production header code and place it within the HEAD section of your site HTML.

    Place the code as close to the <head> tag as possible. This code snippet should be placed on every page of your live production site.

    Note: Production embed code reflects only the published items in that property. However, embed code for staging reflects all items in the associated property, regardless of the published or unpublished state. To test unpublished items on your production site, locally enable staging in the console by following the instructions in Test unpublished rules for Akamai hosting.
  2. Copy the production footer code and place it in the BODY section of your site HTML.

    Place the code as close to the </body> tag as possible.

  3. Copy the staging header and footer code, then repeat the steps above on your staging site.
    Note: The difference between production and staging code snippets is the addition of -staging to the filename in the staging version. The footer code remains the same in staging and production.