How To Deploy a Test on ANY Landing Page

Avatar

Avatar

jeremytripp

Avatar

jeremytripp

jeremytripp

15-09-2020

I operate an eComm single page app website where users come in "sideways" (via category or product pages from bookmarks or search engines) just as much as they enter through the homepage. How can I set my page delivery settings in a standard A/B test to ensure my test deploys on any entry/landing page, not just the default page setup under Page Delivery?

 

I assumed setting an OR template rule with 'domain contains mydomain.com' would account for this, but no tests fire when I enter via any page other than the one set as my default page, even though I see Target being loaded via Launch. Any advice?

entry page Target

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

jeremytripp

Avatar

jeremytripp

jeremytripp

15-09-2020

Figured it out. For future searchers who operate in an SPA, you'll need to set any code or events you wish to fire on any entry page as a Page Load Event rather than firing on a specific View. This along with setting a template rule in Page Delivery to "domain contains yourdomain.com" does the trick. It seems like the Page Delivery template rules don't extend to Views -- or at least they don't for me (could always be a self-inflicted implementation issue). Anyway, hope it helps others.

Answers (1)

Answers (1)

Avatar

Avatar

ryanr701

Employee

Avatar

ryanr701

Employee

ryanr701
Employee

15-09-2020

Hi @jeremytripp

A template rule with an OR condition like you described should be what you want. Are you seeing a Target call being made on each page? Is there any other audience condition in place?