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

Classifications in DTM?

Avatar

Avatar
Validate 1
Level 1
MrTimm
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
MrTimm
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
MrTimm
Level 1

08-03-2017

I use DTM to manage a large number of web sites (+1,000). I have about 100 that i want to use DTM to deploy a piece of JS to.

 I want to create a rule that is triggered for only those 100 sites. Is there a way I can use classifications to trigger that rule?

Failing that, is there another way to do this without having to create 100 separate rules?

Thanks very much.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 1
Level 1
bill_tripple1
Level 1

Likes

2 likes

Total Posts

4 posts

Correct Reply

2 solutions
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
bill_tripple1
Level 1

Likes

2 likes

Total Posts

4 posts

Correct Reply

2 solutions
Top badges earned
Boost 1
Affirm 1
View profile
bill_tripple1
Level 1

08-03-2017

Your best bet is to fire a rule based on a data element that is common across all those 100 websites.  That data point might be url structure, data layer attribute, etc.

You can also create a script that lists all the domains you wish to track which evaluates to true if it matches the current hostname.

Answers (3)

Answers (3)

Avatar

Avatar
Validate 1
Level 4
Løjmann
Level 4

Likes

35 likes

Total Posts

117 posts

Correct Reply

42 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
Løjmann
Level 4

Likes

35 likes

Total Posts

117 posts

Correct Reply

42 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Løjmann
Level 4

08-03-2017

Hi,

You could create a data data element, that consist of JavaScript, that will check if the current domain are one of the 100 you want to trigger the specific rule for, and then return true/false based on that. Then you can setup one rule, that are using that element in the condition... Properly the best way to avoid creating that many rules...

/Løjmann

Avatar

Avatar
Validate 1
Level 1
MrTimm
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
MrTimm
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
MrTimm
Level 1

09-03-2017

Thank you everyone. It looks like I'll create a script with all 100 sites listed.

Avatar

Avatar
Springboard
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

331 likes

Total Posts

2,247 posts

Correct Reply

811 solutions
Top badges earned
Springboard
Validate 500
Validate 250
Validate 100
Validate 50
View profile

Avatar
Springboard
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

331 likes

Total Posts

2,247 posts

Correct Reply

811 solutions
Top badges earned
Springboard
Validate 500
Validate 250
Validate 100
Validate 50
View profile
jantzen_belliston-Adobe
Community Manager

09-03-2017

Both of the above replies are great solutions. If you find one of these acceptable, please mark that answer correct.