Segments with Date Criteria

0

Hi,

I'm trying to build segments with a date condition.

We have a user attribute that's a date in the format YYYY-MM-DD, but I'm getting zero matches regardless of the date condition. I can see the dates are in there based on the suggestions in the Pinpoint UI, but they must not be suitable for the Before/After matching.

I presume I've misunderstood - either we can't target based on a user attribute that's a date or YYYY-MM-DD isn't the correct format to pass into the API. Please can someone point out where I've gone wrong?

Thanks,
Mike

mmdg
gefragt vor 3 Jahren383 Aufrufe
1 Antwort
0

Nevermind, I've realised how to solve the problem. The date can't be truncated to YYYY-MM-DD, it has to be in the format YYYY-MM-DDTHH:MM:SSZ.

mmdg
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen