Using the Visitor Labeling Code
Improvely creates a profile of each person visiting your website containing all of their past visits and conversions. You can label and search these profiles by an e-mail address, username or other identifier by using this code on your site after the visitor has identified themselves — by registering, purchasing or signing in.
Use of this code is optional and requires custom programming.
To add the code to your website:
Click the Copy to Clipboard button to copy the code to your computer’s clipboard. Alternatively, highlight the code with your mouse and press CTRL+C or CMD+C.
Paste the code into a webpage visitors see after identifying themselves.
For example, add it to the page shown after someone logs in to an account, or after they fill out a signup form containing their e-mail address.
Include the Visitor Labeling Code underneath the Website Code you’ve already added to your page. Example:
Add your code to output the visitor’s e-mail address.
improvely.label('<?php echo $email; ?>');
The exact code you need will depend on your website, how and in what language it is programmed, and where you are collecting the visitor’s e-mail address. This is not code that we provide. It is code that your website developer must write.
This information will appear at the top of the visitor’s profile in your account.
Warning: This code requires custom programming to use. You must output the e-mail for the visitor currently on your site, which you would do by writing your own code to e.g. output the data submitted to a form. Never hard-code a static identifier like “anonymous” or “guest”.
More from this category
- Using the Website Code
- Using the Conversion Code
- White-Label Settings
- Reset Project Data
- Delete a Project
- Choosing Your Project Settings
- Choosing a Conversion Counting Setting
- Using the Duplicate Conversion Filter
- Setting Up Click Fraud Alerts
- Choosing a Conversion Attribution Model
- Excluding IP Addresses From Tracking