Optimize
2.6K members online now
2.6K members online now
Discover how to select who is eligible to be in your experiment, and when they’re served experiment variations.
Guide Me
star_border
Reply

Setting Experience at Landing Page via URL Parameter

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I want to deliver a unique offer (via a different banner image in the site header) to users that enter my site with a specific query parameter & value that I set in the targeting section.  And have that banner image follow the user throughout the website, so they see their special offer as they browse through the website and complete checkout.  I'm on the newly released free version, and have not been able to figure this out.

 

In the past I've used Adobe Target, and have been able to easily identify an audience using this method (landing page URL contains XXX), and maintain the unique messaging throughout a visitor's current session and optionally, on repeat visits.

1 Expert replyverified_user

Setting Experience at Landing Page via URL Parameter

Google Employee
# 2
Google Employee

Using Google Analytics audiences is only offered in the non-free version of Optimize (Optimize 360): see https://support.google.com/360suite/optimize/answer/7084762/

 

An alternative idea would be to implement your own custom javascript variable (available in the list of targeting categories), where you would implement this logic using a cookie. (See https://support.google.com/360suite/optimize/answer/6301785)

 

1) if the query parameter is in the document url then set it in a cookie.

2) just return the value of that cookie.