Avatar of Jon Imms
Jon Imms
Flag for United States of America asked on

Pull Variable from URL Use php template

Not sure how this can be done.  I am creating both an Email and landing page Template.

The email will be a drip campaign from our CRM, which will have links in them which goto a landing page on our wordpress website

the links in the email will be something like https://mysite.com/landing-page?john-smith

What i would love to do, is create a template in wordpress, which could scrape the incoming url,  and get the name,  so that we could have a Welcome John Smith headline,   and John multiple places in the content so it's a personal landing page.

So email is sent out, which has the link https://mysite.com/landing-page?john-smith included in it.  

They click on the link, and it takes you to a Wordpress Landing Page.

Welcome {firstname} {lastname}  (Welcome John Smith)

Dear {firstname},    Dear John,

Is this possible, and how can this be done in PHP, Wordpress.
PHPWordPress

Avatar of undefined
Last Comment
Ray Paseur

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Ray Paseur

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck