Custom field with underscore in link

SOLVED
Go to solution
JoeT2627
Rookie
0 Votes

I apologize if this has already been asked a bunch of times.  It looks like other people have various forms of this question but I haven't found an answer that works for me.

I'm trying to put a custom field named person_key into a web link url.

I've tried various forms (12 so far) of the following:

https://www.my_site.com/ws/afco_car_kits.php?id=[[person_key]]

I want to link to my_site.com, subdirectory ws, file name afco_car_kits.php, with a GET parameter of id=xxx,

where xxx is from the person_key custom field in the contact record. 

So far, all my efforts have resulted in the correct URL, right up to and including ?id=.  The id parameter itself is always blank.

How to I write the link to pick up this custom field?  Thanks,

1 ACCEPTED SOLUTION
Zoe_H
Employee
0 Votes

Hello @JoeT2627,

 

Yes, you are correct! The underscore was causing that error message and I do apologize for any inconvenience this may have caused. I will submit this over to our engineers for review. 


Zoe H.
Community & Social Media Support

Did I answer your question? If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.

You're not alone on your email marketing journey. Connect with a Marketing Advisor to see how they can help you develop the right strategy for your business and get the most out of your Constant Contact experience.

View solution in original post

2 REPLIES 2
JoeT2627
Rookie
0 Votes

I may have stumbled into a working answer.  I replaced the custom field name of "person_key" with "StoreKey" and it seems to be working.  Despite the examples on the constant contact site, is it possible that custom fields don't work with underscores in their name?

Zoe_H
Employee
0 Votes

Hello @JoeT2627,

 

Yes, you are correct! The underscore was causing that error message and I do apologize for any inconvenience this may have caused. I will submit this over to our engineers for review. 


Zoe H.
Community & Social Media Support

Did I answer your question? If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.

You're not alone on your email marketing journey. Connect with a Marketing Advisor to see how they can help you develop the right strategy for your business and get the most out of your Constant Contact experience.
  • Avatar

    Featured Article

    Use Sections to Build Email Campaigns Faster and Improve Engagement Rates

    Using Sections while designing your marketing email not only increases your own efficiency but helps you to deliver a more friendly, organized message. Check out some of the key benefits of using sections in email.

    See Article
  • Avatar

    Featured Thread

    Casual Conversations: What's your go-to playlist?

    If you listen to music while you work, share your playlist below so we can be inspired and maybe find some new music!

    View thread
  • Avatar

    Featured Thread

    Share Your Success Sweepstakes

    Share a success story from the last year and be entered for a chance to win great prizes!

    Enter now!
Updates
Just Getting Started?

We’re here to help you grow. With how-to tutorials, courses, getting-started guides, videos and step-by-step instructions to start and succeed with Constant Contact.

Start Here

73% of SMBs express doubt that their marketing strategy is effective. Does this sound familiar? Read our Small Business Now Report to learn how you can tweak your strategy to see better results.

Go read our article
Upcoming Webinars
JAN 06
How to Grow Your List in Constant Contact
3PM - 4PM EST