We help IT Professionals succeed at work.

Pull Variable from URL  Use php template

Jon Imms
Jon Imms asked
on
131 Views
Last Modified: 2018-03-27
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.
Comment
Watch Question

Most Valuable Expert 2011
Author of the Year 2014
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION