Link to home
Start Free TrialLog in
Avatar of Jon Imms
Jon ImmsFlag 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.
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial