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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to load page load rule only on homepage?

Avatar

Level 1

Hi there,

I am new to DTM so please bear with me. 

I'm trying to add 4 - 3rd party vendor scripts to only the home page. 

Here are the steps I did:

1) Create a rule in Page Load Rules

2) select Trigger rule at Bottom of Page

3) Choose Domain as Criteria, Add Criteria

4) Add 4 scripts in 3rd party tags

5) Save, Publish, Approve

Now I see these 4 tags showing up on all pages. I just want it to show up on the homepage. Should I be selecting a different criteria?

 

Thank you kindly for any help

MS

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi,

just add another condition for path, and set the value to the name of your homepage URL path ... eg. index.html

 

Regards, Michael

1 Reply

Avatar

Correct answer by
Level 3

Hi,

just add another condition for path, and set the value to the name of your homepage URL path ... eg. index.html

 

Regards, Michael