Widget Campaigns - Add conditions

Do you want a specific target to see your widget campaigns?

You can target the widget campaigns created to ensure that only users matching certain conditions are able to have access to the campaigns. 

⚠️You can define several conditions in the same campaign, however, they need to work all together, need to be related.

If the conditions do not match or are not able to work together, it will not work.

Where can I define conditions in a campaign?

Console: Campaigns > Webchat > New Campaign > Targeting > Who should see this campaign?

You can create conditions based on: 

UTM Source 

UTM source is a tag added to the end of a link to track where visitors come from.

For example:

  • Facebook: https://www.hijiffyhotel.com/?utm_source=social_facebook
  • Instagram: https://www.hijiffyhotel.com/?utm_source=social_instagram
  • Google: https://www.hijiffyhotel.com/?utm_source=google

When someone clicks these links, you can see the source in your analytics tools, helping you understand which platforms bring the most visitors.

UTM Source Equals social_facebook This means that you want your widget campaign to be displayed when the UTM source parameter in your website URL matches exactly “social_facebook” 
UTM Source Starts with social

This means that you want your widget campaign to be displayed when the UTM source parameter in your website URL starts with "social"

Can be social_facebook, social_instagram...

UTM Source Ends with facebook

This means that you want your widget campaign to be displayed when the UTM source parameter in your website URL ends with "facebook"

Can be for example social_facebook, newsletter_facebook…

UTM Source Match REGEX ^social_

This means that you want your widget campaign to be displayed when the UTM source parameter in your website URL has "social" on it

If utm_source=social_facebook

If utm_souce= social_instagram

If utm_source=google 

UTM Source Doesn't match REGEX ^social_

This means that you want your widget campaign to be displayed in all UTM sources, except when it has social

If utm_source=social_facebook

If utm_souce= social_instagram

If utm_source=google 

UTM Medium

UTM medium is a label added to a link to identify the marketing method used to attract visitors to your website.

For example:

  • Email: https://www.hijiffyhotel.com/?utm_medium=google_organic
  • Social media: https://www.hijiffyhotel.com/?utm_medium=social
  • Ads: https://www.hijiffyhotel.com/?utm_medium=social_organic

When clicked, these links help you see which method (email, social media, or ads) brought visitors to your site, aiding in evaluating their effectiveness.

UTM Medium Equals  social

This means that you want your widget campaign to be displayed when the UTM medium (marketing method) parameter in your website URL matches exactly social

UTM Medium

Starts with

social

This means that you want your widget campaign to be displayed when the UTM medium (marketing method) parameter in your website URL starts with social

Can be for example social_cpc*, social_organic…

*cpc = cost per click

UTM Medium

Ends with 

organic

This means that you want your widget campaign to be displayed when the UTM medium (marketing method) parameter in your website URL ends with organic


Can be for example social_organic, googlel_organic…

UTM Medium

Match REGEX

^social

This means that you want your widget campaign to be displayed when the UTM medium parameter in your website URL has social on it

If utm_medium=social_organic

If utm_medium= social_cpc

If utm_medium=cpc 

UTM Medium

Doesn’t match REGEX

^social

This means that you want your widget campaign to be displayed in all UTM medium (marketing method), except when it has social

If utm_medium=social_organic

If utm_medium= social_cpc

If utm_medium=cpc 

UTM Campaign

A UTM campaign adds specific parameters to a URL to track marketing efforts.

For example, for a summer sale, you might use:

https://www.hijiffyhotel.com/?utm_source=facebook&utm_medium=paid_social&utm_campaign=summer_sale

  • utm_source=facebook identifies Facebook as the source.
  • utm_medium=paid_social identifies the medium as paid social advertising.
  • utm_campaign=summer_sale identifies the campaign.

This helps you see how much traffic and engagement comes from your summer sale campaign.

UTM Campaign Equals  summer_sale This means that you want your widget campaign to be displayed when the UTM campaign parameter in your website URL matches exactly “summer_sale” 

UTM

Campaign

Starts with summer

This means that you want your widget campaign to be displayed when the UTM campaign parameter in your website URL starts with summer

Can be for example summer_sale, summer_general_sale…

UTM

Campaign

Ends with 

sale

This means that you want your widget campaign to be displayed when the UTM campaign parameter in your website URL ends with sale

Can be for example spring_sale, summer_sale…

UTM

Campaign

Match REGEX

^summer_sale

This means that you want your widget campaign to be displayed when the UTM campaign parameter in your website URL has summer_sale on it

If utm_campaign=summer_sale_2023

If utm_souce= summer_sale_promo

If utm_source=spring_sale

UTM

Campaign

Doesn’t match REGEX

^summer_sale

This means that you want your widget campaign to be displayed in all UTM campaigns, except when it has summer_sale

If utm_campaign=summer_sale_2023

If utm_souce= summer_sale_promo

If utm_source=spring_sale

UTM Content

UTM content distinguishes between multiple similar links pointing to the same webpage, helping you see which version works best.

For example, you have two ads for your summer sale:

  • Sunglasses ad: https://www.hijiffyhotel.com/summer-sale?utm_content=sunglasses
  • Beach ball ad: https://www.hijiffyhotel.com/summer-sale?utm_content=beachball

These labels help track which ad (sunglasses or beach ball) brings more visitors, showing which content is most effective.

UTM Content Equals  beachball This means that you want your widget campaign to be displayed when the content is exactly beachball
UTM Content

Starts with

beachball

This means that you want your widget campaign to be displayed when the content starts with beachball

Can be for example beachball_summer, beachball_2024…

UTM Content

Ends with 

beachball

This means that you want your widget campaign to be displayed when the content ends with beachball

Can be for example summer_beachball, spring_beachball…

UTM Content

Match REGEX

^beachball

This means that you want your widget campaign to be displayed when the UTM content parameter in your website URL has beachball on it

If utm_content=beachball_2024

If utm_content= beachball_summer

If utm_content=summer_promotion

UTM Content

Doesn’t match REGEX

^beachball

This means that you want your widget campaign to be displayed in all UTM content, except when it has beachball

If utm_content=beachball_2024

If utm_content= beachball_summer

If utm_content=summer_promotion

Referral URL

A referral URL shows where visitors were before they clicked a link to your website, helping you track their origin.

For instance, if your website is https://www.hijiffyhotel.com and someone clicked from https://traveladvisor.com the referral URL would be https://traveladvisor.com

Analyzing these URLs in your analytics reveals which sites send you visitors, showing you where your traffic originates and which sources are most effective.

Referral URL Equals https://traveladvisor.com This means that you want your widget campaign to be displayed when the user comes exactly from this url
Referral URL Starts with https://traveladvisor.com This means that you want your widget campaign to be displayed when the user comes from the page that starts with this url
Referral URL Ends with ref=partner_hotel This means that you want your widget campaign to be displayed when the user comes from the partner's page that ends with partner_hotel
Referral URL Match REGEX ^https://.*\.travel-site\.com.* This means that you want your widget campaign to be displayed when the user comes from any subdomain of travel-site.com.
Referral URL Doesn’t match REGEX .*social-media.* This means that you want your widget campaign to be displayed when the user does not come from a page with "social-media" in the URL.

Page URL

When a website campaign uses a "page URL" condition, it triggers actions or displays content based on the visitor's current webpage.

This customization tailors messages or offers to match the visitor's browsing context.

For instance, a campaign with "page URL equals to /rooms" could show rooms-related promotions specifically on the rooms page.

Page URL Equals http://hijiffyhotels.com/rooms This means that you want your widget campaign to be displayed in this exact URL page
Page URL Starts with https://hijiffyhotels.com/special-offers This means that you want your widget campaign to be displayed when the user is on any page that starts with "http://hijiffy.com/special-offers".
Page URL Ends with /booking-confirmation This means that you want your widget campaign to be displayed when the user is on any page that ends with /booking-confirmation
Page URL Match REGEX (hotelA|hotelB|hotelC) This means that you want your widget campaign to be displayed when the visitor is on any page that contains "hotelA", "hotelB", or "hotelC" in the URL
Page URL Doesn’t match REGEX .*contact-us.* This means that you want your widget campaign to be displayed when the user is not in a page that contains "contact-us" in the URL

Is mobile device 

This condition allows you to decide if the widget campaign should be triggered only on mobile devices or not. If you don't use this condition, it will be triggered in both. 

Is mobile device true

This ensures that the campaign is shown only to users accessing the website from mobile devices.

Is mobile device false

This ensures that the campaign is shown only to users accessing the website from desktop or laptop computers.