Integrating purlHub personalization on your landing pages is simple, requires nothing to install server side, and can be completed in less than 10 minutes with these 4 steps:
Setup a purlHub campaign service token with your access and permissions.
Include the purlHub base library (our middleware, or JSAPI).
Configure purlService initialization options.
Flag or tag your page for personalization.
First, (1) set up your token with its access rules and permissions. Log in to your account portal and goto the "API access & Security" tab of your campaign. A default token is created each time a campaign is created, but its access is limited to offline mode only (local.files). You'll want to add a rule for your website, allowing at a minimum Read-Only access. Make a note of the token, you'll use that value later.
Finally, (4) add Class Flags to the elements on your page where you want to add personalization.
<p id="welcome-block"> Welcome <span class="phProfileData-firstName">Guest</span> <span class="phProfileData-lastName">Visitor</span>! </p>