Hi there!
I am looking to add a profile property and value via button trigger.
I am looking to segment via cat owner or dog owner as a pet wellness brand. When they receive the email, they will click ‘Dog’ ‘Cat’ or ‘Both’. When they click this, ideally, they would have a profile property value added like ‘Dog, Cat or Both’, the value will update to the preference selected ie. Dog. I have gone through a few Klayvio Community pages and FAQ pages, however, I am still having trouble.
Is it because we are not ‘updating’ rather ‘adding’?
This is the button link I have currently. I have created these profile properties and the values for each preference. I am unsure where I am going wrong ☺️
{% update_property_link 'dogorcat' 'dogowner' 'https://www.petdrs.com.au/pages/dog-or-cat-owner' %}
Thank you!
Solved
Adding Profile Property via button trigger
Best answer by ArpitBanjara
Hey
Yes that is correct, here is the syntax -
{% update_property_link 'profile_property' 'property_value' 'redirect_link' %}
So your syntax looks correct.
Can you add all these custom properties to your own profile in klaviyo manually first? and try this again. That should work.
Let me know
Thanks
Arpit Banjara
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.