Skip to main content
Active Contributor I
May 18, 2023
Solved

Getting error message when adding custom property. What am I doing wrong?

  • May 18, 2023
  • 2 replies
  • 190 views

Hi there, I’m trying to add a button to my email so when the user clicks on it they are automatically added to a segment. I must be doing something wrong but can’t figure it out. The code I’m using is:

{% update_property_link ‘newdesign_earlyaccess' 'true' 'https://mysite.com' %} 

I added the property to my own profile to create it. But I must be missing something. 

Can you help? I’m hoping to get this out in the next couple of hours but hitting a brick wall!

 

 

    This topic has been closed for replies.
    Best answer by Spark Bridge Digital LLC

    I could be wrong but give this one a try -

    {% update_property_link 'newdesign_earlyaccess' 'true' 'https://mysite.com' %} 

    It worked on my end when used without errors. Basically your ‘ need to be a ' in simple terms!

    2 replies

    Spark Bridge Digital LLC
    Partner - Platinum
    2025 Champion
    May 18, 2023

    I could be wrong but give this one a try -

    {% update_property_link 'newdesign_earlyaccess' 'true' 'https://mysite.com' %} 

    It worked on my end when used without errors. Basically your ‘ need to be a ' in simple terms!

    Klaviyo Champion | Your Email Marketing BFF
    JinAuthor
    Active Contributor I
    May 18, 2023

    That is fantastic! Thank you so much! I have spent hours trying to figure that out. I copied the code from a previous email but I’d put it in a word doc - it must have changed the ‘ things - thank you again, you have saved me a lot of trouble. 😊🙌