Show relevant products for ad campaigns

Show targeted content to visitors using UTM parameters

In this tutorial, you'll learn how to create a more cohesive customer journey for visitors who arrive at your store through one of your marketing campaigns.

The UTM parameters rule allows you to create audiences based on the UTM links used in your marketing emails or online ads. We'll walk through how to add a Studio section with variant content that appear to different visitors depending on which ad link they clicked.

  • Add a section to your home page.

  • Add variant content intended for visitors who click on specific social ads.

  • Create an audience based on your link with UTM parameters used in one of your online ads.

What are UTM parameters?

UTM parameters are strings of code added to your links that help identify where your visitors are coming from. Your analytics can then capture visits by traffic source, allowing you to track the performance of your marketing campaigns.

An example of a link with UTM parameters: https://www.mystore.com?utm_source=email

Example

For my example store, I sell knitted apparel for adults, babies, and even dogs. I have several social ads that are uniquely targeted for each category.

With UTM parameters, I can create section variants with relevant content that matches the ads they clicked on—whether for adults, babies, or dogs.

Default sections for first ad campaign
Section variant for second ad campaign
Section variant for third ad campaign

Add section


To get started, install a section from Section Studio and add it to one of your pages.

For this tutorial, we'll be using the Shoppable hero section, which shows a hero image (or autoplay video) with promoted product cards. However, you can use any other Section Studio sections.

For the default section, we'll add images and products for the first category: adult apparel. This default section, added in the theme editor, will appear to all visitors who don't match any audience that we'll create later.

1

Duplicate your live theme

In your theme library, duplicate your live theme to create an unpublished copy to edit. You can rename it to make it easy to find.

2

Install and add shoppable hero

In the Section Studio app, go to the Shoppable hero page, click Install to theme and select your unpublished theme copy.

In your theme editor, add the Shoppable hero to your home page.

3

Customize content and styles

Click the section to add an image and customize the general styles.

In the section settings, select one or more products to display as cards with a "View product" button.

Learn more about Shoppable hero settings and how to edit Global styles to closely match your branding.

Create targeted content for ad campaign


Now that you have your default section added, you can create variants of the section with content intended for different audiences.

I'll be creating two section variants that match my online ads for my baby and dog apparel products.

First section variant
Second section variant
1

Add variant for your section

Go to the Smart sections page in the app dashboard.

Select the theme and template where you added your section. Click Add variant. When added, the section variant duplicates the content and settings of the main section.

Enter a name for the section variant: e.g. "Dog scarves"

2

Customize the variant with matching ad content

Click Customize variant to open the section variant in the theme editor. Edit the content and styles as you would any section.

Update the headings and products to match the content for one of your online ads. You can modify the styles and other elements.

Remember to click Save.


Now that you have your section variants, you can create audiences based on your UTM links. After creating audiences, you can assign them to the section variant.

I'll be creating 2 audiences based on my UTM links used by my online ads for baby knits and dog scarves.

1

Create audience with UTM parameters

Go to the Audiences page in the app dashboard, and click Create new audience.

Enter a name for the audience. Example: "Ad - Dog scarves".

Select the UTM parameters rule, then enter you ad campaign's UTM link. Remember to click Save.

2

Assign audience to section variant

To activate your section variant, you need to assign the audience.

Go to the Smart sections page. Click the Assign button in the Audiences column. Select the audience you created.

Publish your new smart section


It's time to take the final step and publish your theme with your new smart section.

Checklist