Optimize
2.1K members online now
2.1K 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

Targeting based on dataLayer date variable

cdb
Visitor ✭ ✭ ✭
# 1
cdb
Visitor ✭ ✭ ✭

Hi,

 

I am trying to target an experiment using a dataLayer variable. This variable is a date. I only want to show if the date is less than a certain date. Can this be done via Optimize?

Targeting based on dataLayer date variable

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭

This depends on whether you have the data variable already set up' - if not you may have to push a data layer through GTM. Although I'm not entirely sure what you mean by "less than a certain date" can you be more specific?