Skip to main content

Hello.

Is there a way to preview a campaign with user data AND event data?

I know I can setup a journey and test the journey with event data, but when different campaigns within that journey use the same event it can be tricky to test them all.

Is there a way to preview a campaign with manually entered event data, similar to how you can preview a campaign by entering or loading your own user data?

Hey John!

Happy to help you out here - you can definitely do so, it will just require a little work on your end within the preview with data JSON to get that going.

For example, when you load a user into the preview with data tool, you can adjust the JSON and add the fields from the custom event that you are referencing, and only those fields and values. No reference to the custom event is necessary. I'll share a sample below:

Let's say I want to pull these fields from my custom event (participant.first_name and last_experiment.length), I would format the JSON like so:

"participant": {

"first_name":"Sara"

},

"last_experiment": {

"length": 20

},

Then, I would add it to the JSON preview with data like this:

image.pngLet me know if that works for you, or if you need additional assistance, don't hesitate to reach out to Support and we can help you out further!


Tagging you John Allan in case you missed my answer above.


Yes, thank you SaraCemal - seems obvious in hindsight! I appreciated the help :)


Reply