How do I run an XT on all pages excluding the homepage (not on the homepage) | Community
Skip to main content
October 27, 2022
Solved

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

  • October 27, 2022
  • 2 replies
  • 821 views

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? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Perrin_Ennen

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.

2 replies

Perrin_Ennen
Community Advisor
Perrin_EnnenCommunity AdvisorAccepted solution
Community Advisor
October 28, 2022

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.

Gaureshk_Kodag
Adobe Employee
Adobe Employee
October 31, 2022

Create audience with exclude container as below.

 

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