Starter: How to set up Dynamic Content Insertion

Using Dynamic Content Insertion you can pass information from the URL onto the page. Sounds tricky? Here's a starter guide.

What is Dynamic Content Insertion?

Dynamic Content Insertion lets you add keywords and information to pages to make your ads and marketing campaigns more relevant.

Generally, you have three options

  • manually add query string parameters to the URL
  • dynamically pass query string parameters through the URL (learn more)
  • use JavaScript to pass on data provided by Unless (learn more)

This starter guide, will teach you the essentials of passing information from your URL onto your page. The advanced guide and expert guide are based on these essentials.

Starter Guide:

Example: For this tutorial, we'll set up Dynamic Content Insertion for the fictional restaurant "Food & Stuff".

food n stuff

1. Decide on a Dynamic Parameter

In theory, you could dynamically add or replace any text on your page, but we recommend to focus on keywords that make the page more relevant from your users' perspective. Example: Let's say we want to use the headline "Enjoy the best food in Amsterdam" to promote different menu items. So, 'food' becomes the Dynamic Parameter.

2. Add the Dynamic Placeholder and a fallback

Use the inline editor to insert the Dynamic Parameter and set up a fallback. The fallback is a string that is used whenever the dynamic value is empty or unknown. Example: Here's how we inserted the dynamic placeholder {{}} and used "food" as the fallback.

food n stuff2

3. Test the Dynamic Parameter

At this point, the Dynamic Content Insertion is already active. To test it, add the dynamic parameter (?dynamic_parameter) and a value (=value) to your URL.

Your URL will look something like this:

If we don't provide a value for our dynamic parameter, the page will simply display the fallback value.

Example: As you can see, we added the dynamic parameter "menu-item" and the value "steak" to the URL. This results in the dynamically created headline "Enjoy the best steak in Amsterdam".

food n stuff3

4. Link your campaign

This step is pretty straightforward: Simply copy the URL of your page, add a matching value (in our case "steak") and define it as the destination page of your ad or campaign. The value can also be inserted dynamically, for example by combining Unless with Google Ads' Keyword Insertion. You can find more information about this in our advanced guide.

food n stuff4

5. Bonus step

Of course you are not limited to one dynamic parameter per page. Using '&' you can use and separate multiple parameters in your URL.