Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Brand Configuration - Tracking URL configuration - Applicability condition

Avatar

Avatar
Validate 1
Level 2
LiviaD1
Level 2

Likes

3 likes

Total Posts

27 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 2
LiviaD1
Level 2

Likes

3 likes

Total Posts

27 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
LiviaD1
Level 2

14-07-2020

Hi all,

can someone explain to me what "Applicability condition" is and how it works?

 

This is our scenario.

I extended the Delivery schema with some new fields (eg. utm_source).

Then I set these new fields as parameters in "Tracking URL configuration" in Brand Configuration settings.

In this way, when I create a new delivery, I can specifiy a fixed value for each of these new fields, for example utm_source = test. Campaign will automatically add these fields to any links (eg. www.test.com?utm_source=test ).

If I leave these fields empty, Campaign will automatically add just fields name to each link (eg. www.test.com?utm_source=) .

 

I need to understand if there is a way to set a condition like this:

  • if the field is NOT empty, then Campaign will add this field to each link
  • if the field is empty, then Campaign will NOT add this field to each link (so I have just www.test.com instead of www.test.com?utm_source=)

I I need this kind of condition because in some cases I haven't a fixed value, I need to use a dynamic value, for example the current date (eg. utm_source=20200714 for today, utm_source=20200715 for tomorrow and so on). In these cases, I set the utm_source directly in the HTML using a content block.

Without a condition like the one specified above, if the field is empty and I set the utm directly in the HTML, the URL will have two utm_source: the one specified in the HTML and the one of the Brand Configuration setting (eg. www.test.com?utm_source=20200714&utm_source= )

 

I suppose that I can use "Applicability condition" to set this logic, but I don't understand how to set it (I tried IS NOT NULL condition but it didn't work).

 

Thank for your help

ACS applicability condition brand configuration tracking url configuration

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 4
johnwwilcoxmba
Level 4

Likes

35 likes

Total Posts

78 posts

Correct Reply

14 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 4
johnwwilcoxmba
Level 4

Likes

35 likes

Total Posts

78 posts

Correct Reply

14 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
johnwwilcoxmba
Level 4

07-01-2021

I finally figured it out.  It uses javascript logic.  Here is a couple of examples of Applicability conditions:

 

Testing for Null

context.delivery.campaign.label == ''

 

Testing for Not Null

context.delivery.campaign.label != ''

 

Hope that helps.  John

 

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1000
Employee
Sukrity_Wadhwa
Employee

Likes

140 likes

Total Posts

856 posts

Correct Reply

35 solutions
Top badges earned
Validate 1000
Validate 500
Validate 250
Validate 100
Validate 25
View profile

Avatar
Validate 1000
Employee
Sukrity_Wadhwa
Employee

Likes

140 likes

Total Posts

856 posts

Correct Reply

35 solutions
Top badges earned
Validate 1000
Validate 500
Validate 250
Validate 100
Validate 25
View profile
Sukrity_Wadhwa
Employee

13-01-2021

Hi @LiviaD1,

I understand it has been long since you posted this query, but would you like to try and confirm whether the given solution works? It would immensely help other Campaign users looking for an answer to this query.

Thanks!