Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
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

View solution in original post

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