Expand my Community achievements bar.

SOLVED

How do I run an XT on all pages excluding the homepage (not on the homepage)

Avatar

Level 1

I would like to setup an XT to run on all the pages of the website; however, I do not want this code running on the homepage. When I try to set this up it says there's a redundancy in the logic and does not allow the test to run. Any ideas on how I could accomplish this? 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @homerom2514576,

Sounds spontaneously like an issue in your audience. Maybe you can double check.

 

Depending on how your URLs look like. Can also help e.g. a profileScript - that always writes the isHomepage -> true into the profile on the start page (else false). Which you can then use better in the audience as an exclude.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @homerom2514576,

Sounds spontaneously like an issue in your audience. Maybe you can double check.

 

Depending on how your URLs look like. Can also help e.g. a profileScript - that always writes the isHomepage -> true into the profile on the start page (else false). Which you can then use better in the audience as an exclude.

Avatar

Employee Advisor

Create audience with exclude container as below.

 

Page url contains home.com AND path equals / that would work.