Hi there,
Your code looks good to me, but I would suggest sending a preview email to yourself in order to test. Since the functionality of that Django filter is to update a customer’s profile, you may need to actually send an email in order to test.
Additionally, I wanted to provide a quick definition of this filter for anyone reading who might not be sure of the intended purpose.
update_property_link
Use this tag to create a link which will add a profile property to a profile. On addition of the property, redirect the user to either the default Klaviyo thank you page or the supplied url. update_property_link takes at least three arguments: the profile property, the value, and a redirect link.
Example
{% update_property_link ‘PROFILE_PROPERTY’ ‘Profile Property Value’ ‘https://google.com’ %}
Best,
Caroline
Hi,
I’m having the same issue as Lisa above… I entered: {% update_property_link 'BFCM' 'YES' 'https://nommaternity.com/pages/get-on-the-list' %} but the link, even in a preview email is sending me to a place holder page. Is there a way to confirm that the placeholder page will redirect?
thank you!
Hello,
I’m also having the same issue. Did the tag coding changed with the new Klaviyo editor?
The code provided by you is supposed to update and/or create a new property to the profile that clicks on the button or link with that code. I tried to preview and test and it says that I have invalid template tags or variables . Then I followed the suggestion above and tried to send a test to my personal email, but due to the ‘’invalid tags’’ Klaviyo didn’t allow me to send the test email. I tried both button and link, and none of them works.
Anyone could give an insight on the situation?
Thank you in advance <3
Ana
Jessie Kaye I had the same issue. The only way to test the real redirecting page for me was creating a test campaign addressed only to myself and checking wether the link was the one I wanted.
Did you find a simpler way?
I need to do this too but am not very familiar with properties. Can someone please tell me how to even create the property and then the value?
Hey @embalmskincare,
Thank you for your follow up question on how to create custom profile properties and their associated value. They are a great way to customize your target audiences.
Custom properties are fields that you can use to store information about the contacts in your account. Here are several examples of how you might use custom properties:
- To collect additional information about your contacts, such as gender, size, coupon code, etc.
- To collect contacts' preferences, such as email frequency, type of content, etc.
- To collect contacts' responses to a questionnaire
You can collect virtually any type of information you'd like about a contact using custom properties, and then later use this information to tailor content, create segments, or filter flows. There is no limit to the number of custom properties that can be added to one profile.
About Custom Properties talks through how to add custom properties and how to use them once created. @Johndsn33 has a community post that asks this very question with multiple responses on best practices using profile properties.
I hope this helps give you a strong start into creating custom profile properties! Thank you for being a member of the Klaviyo Community!