Skip to main content
Nested tags

Nested tags simplify Blueprint creation with tags within tags for dynamic content.

Updated over 5 months ago

Nested tags streamline the process of building and maintaining Blueprints. Essentially, a nested tag is a "tag within a tag," offering a useful alternative to creating multiple variations of the same tag.


Understanding tag hierarchy

Nested tags involve enclosing inner tags within outer tags—for example, [[inventory.Make] Tagline]. Here, [inventory.Make] is the nested portion of the tag. The resolution process follows an inside-out approach, ensuring that innermost tags are processed first.


How to use nested tags

Let's explore an example of a nested tag to understand how they work. Below is a line of ad copy with a nested tag. In this example, your team is developing ad copy for automotive accounts. As a strategy, you'd like to include each brand's tagline in the text.

In the steps below, we'll walk through how to construct this line of ad copy and nested tag. Refer to the accompanying image for the progression of the ad copy.

  1. Create a Blueprint tag called [Primary Text], and enter your ad copy. Example: Find the car for you at [account.name]! We have a large selection of new vehicles you'll love.

  2. Create another Blueprint tag, and name it [Toyota Tagline]. Input Toyota's tagline, Let's Go Places, in the input field, and click Save.

  3. Edit the [Primary Text] tag, and add [[inventory.Make] Tagline] to the end of the ad copy.

  4. Click Save.

  5. (Optional) Test the [Primary Text] tag with Tag Tester to see how the nested tag resolves and the final output of the ad.

Notes about this example:

  • The content in the [inventory.Make] tag usually pulls from an account ingestion sheet or polling source.

  • [inventory.Make] resolves first to Toyota. It pulls in the [Toyota Tagline] tag's tagline.

Exploring variations:

When you launch your Blueprint, more taglines will be generated based on the data you have in the [inventory.Make] tag. For example, if BMW is in the data, the nested tag will resolve to [BMW Tagline] and the output will be “The Ultimate Driving Machine” in your [Primary Text] tag.

Did this answer your question?