Optimize
5.5K members online now
5.5K members online now
Get answers to frequently asked questions, read the glossary of testing terminology and explore some example experiment ideas to get the creative juices flowing.
Guide Me
star_border
Reply

Optimze on logged-in pages using regex

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Most of our pages have a specific user ID appended to the URI, and are only viewable after logging in. It there a possibilty to optimize and test on logged- in pages using regex in optimize?

1 Expert replyverified_user
Marked as Best Answer.
Solution
Accepted by topic author Belinda K
May

Optimze on logged-in pages using regex

Google Employee
# 2
Google Employee

Yes, you may change the default targeting rule (which matches the url of your page excluding parameters) and you can use a regex operator to do anything that you like.

 

Try it out in the targeting tab of the experiment page. There is even a "Check your rule" UI that you may use to confirm that your regex works correctly (test it with a few real urls from your site).

 

See

https://support.google.com/360suite/optimize/answer/6283420?hl=en

Optimze on logged-in pages using regex

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Hey appreciated for the answer but how can we optimize on pages behind log in? tks

Optimze on logged-in pages using regex

Google Employee
# 4
Google Employee

Hi

 

Is the question about how one would log-in in the editor?

 

You may copy the final URL from the browser and use it as the editor model page.

 

If you are presented with the log-in screen while in the editor, you may use the "Interactive mode" button (that allows you to use the page normally) and just log-in.

 

There are no security concerns, the browser domain is still your own site and any information (i.e. password) is sent only to your site  and stored in your site's cookies (will not leak to Google or Google Optimize)