kmLearning Center
  • EMAIL MARKETING
    • GROUPS >
      • Manage Groups >
        • Archive
        • Export Group
        • Search Groups / Profiles >
          • Merge Profile
        • Seed List
        • Edit Profile
        • Standard Profile Fields
        • User Defined Fields (UDFs) >
          • Group Config
        • Subscriber Count
      • Add Group
      • Add Emails
      • FILTERS >
        • Smart Filters
        • Custom Filters
        • Copy Filter
      • IMPORT DATA >
        • Manual Import
        • API Import
        • FTP Import
      • SUPPRESSION >
        • PERSONALIZATION >
          • CodeSnippets
          • PURLs
        • Group Suppression Types
        • Opt-out Levels
        • Opt-out Preference
        • Master Suppression
        • Suppression Reasons
        • Error/Bounce Messages
    • Content / Messages >
      • MANAGE CONTENT >
        • Create Content >
          • WYSIWYG Editor. >
            • ALT Text for Images
            • Encoded URLs
            • RSS Feed
          • Design Templates >
            • Responsive Design
          • HTML Upload
          • Preheader Text
      • MANAGE MESSAGES >
        • Create Message >
          • Message Template Categories
        • Dynamic Tags
        • Link Source >
          • Link Alias
        • Message Types
        • Message Type Priority
    • Folders
    • BLASTS / REPORTING >
      • BLASTS >
        • Campaign Types >
          • Quick Test Blast
        • Set Up Blast >
          • Blast Fields
          • DEFINE RECIPIENTS >
            • Select Group(s)
            • Select Suppress Group(s)
            • Using Filters
          • DEFINE MESSAGE >
            • Blast Envelope >
              • Adding / Editing Blast Envelopes
              • Emojis in Subject Lines
            • Dynamic Personalization
          • Social Integration Options
          • Message Summary
          • SCHEDULE / SEND >
            • Tracking Options
            • Opt-out Preference
            • Google Image Cache Buster
            • Schedule Report
            • Email Preview
            • Schedule Blast
        • TRIGGERED EMAILS >
          • Message Triggers >
            • Use Case for Message Triggers
          • Smart Segment Filters
        • Campaign Item Templates
        • Manage Campaigns
      • REPORTING >
        • Report Categories
        • BLAST REPORTS >
          • A/B Summary Report
          • Blast Reporting
          • Campaign Report Definitions
          • Blast Report Samples
          • Campaign Statistics Report
          • Champion Audit Report
          • Click-Through Reports
          • Delivery Report
          • Emails Delivered by Percentage Report
          • Email Fatigue Report
          • Email Performance by Domain
          • Email Preview Report
          • How Opens are Tracked
          • Individual Blast Report
          • Link Report
          • Performance by Day & Time Report
          • Top Evangelists Report
          • Undeliverable Report
          • Unsubscribe Reason Report
        • GROUP REPORTS >
          • Audience Engagement Report
          • Click Report (Advertiser Click)
          • Campaign Item (Blast) Statistics Report
          • Group Attribute Report
          • Group Statistics Report
          • List Size Over Time Report
          • Master Suppression Source Report
          • Subscriber On/Off Report
          • Flash Report
        • Scheduled Reports
        • TRACKING & ANALYTICS >
          • Conversion Tracking
          • Google Analytics >
            • Google Analytics Domain Selection
          • Omniture Tracking
          • Topic Codes
    • ADMIN / CHANNEL MGMT >
      • Landing Pages >
        • Subscription Management Page
        • Unsubscribe Landing Page
        • Forward to a Friend Landing Page
        • Report Abuse Landing Page
        • Update Email Landing Page
        • Search Email
        • Change Email Address
        • Custom Unsubscribe Page
      • Salesforce Integration
      • Message Threshold
      • Gateway
    • EMAIL RESOURCES >
      • Email Marketing API
      • EMAIL BEST PRACTICES >
        • Advanced List Hygiene
        • Anti-Spam Legislation >
          • UNITED STATES
          • CANADA
          • EUROPE >
            • E-Privacy Directive
            • DPA: Data Protection Act
          • Legislation by Country
        • Email Client Support
        • Email Design Basics
        • Elements of an Engaging Email
        • Best Practices to Improve Email Campaign Performance
        • Supported Languages
        • What to Test for Best Results
        • Whitelisting
        • 5 Basics to Maintaining Email Reputation
        • 5 Tips for Mobile Friendly Email Design
      • DELIVERABILITY >
        • Deliverability Terms
        • Best Practices for Deliverability
        • KM Deliverability Services
        • SPAM >
          • Anti-Spam Legislation
          • SPAM Trigger Words
          • SPAM Avoidance Tips
          • Spam Scoring
      • DIGITAL EDITIONS >
        • Digital Edition Requirements
  • MARKETING AUTOMATION
    • Marketing Automation Overview >
      • Define Your Goal
      • Logging In
      • Home Screen Navigation
      • Add New Automation >
        • Building Automation >
          • Automation Controls
          • Automation Canvas
          • Control Properties
  • FORM DESIGNER
    • Form Designer Introduction
    • Logging In
    • Form Home Page
    • Adding A New Form >
      • Initial Set Up >
        • Auto-Submit Form
      • Form Properties
      • Subscriber Login
      • CSS/Styles
      • Form Controls >
        • Querystrings
      • Rules
      • Notifications
      • 3rd Party Output
      • Double Opt-In
      • Summary
  • UAD
    • Dashboard
    • AUDIENCE VIEWS >
      • Consensus
      • Recency
      • Product
      • Cross Product
      • Record
      • Brand
    • Sales View
    • Markets >
      • Creating Markets
      • Market Comparison
      • Market Use Case Example
    • FILTERS >
      • Standard Filters >
        • Circulation Filter
        • Activity Filter
        • Adhoc Filter
        • Saved Filters
        • Reading Filter Results
        • DOWNLOAD / EXPORT >
          • Data Masking
          • Download/Export Records
          • Download Template Setup
      • UAD REPORTING >
        • CrossTab Report
        • Demographic Reports >
          • Product Report - Pubcode
        • Geographic Reports
        • Company View
        • Email View
      • View Filters
      • Scheduled Export
      • Filter Comparison
      • Filter Category
      • Filter Segmentation
      • Question Category
    • CAMPAIGNS >
      • View Campaigns
      • Campaign Comparison
    • TOOLS >
      • GeoCoding
      • Summary Report
      • Record View Setup
      • Brand Setup
      • User Brand Setup
      • Download Template Setup
      • Merge Subscriber
      • CrossTab Report Setup
      • UserData Mask Setup
      • Custom Scoring
    • UAD RESOURCES >
      • UAD API Documentation
      • Merge/ Purge Process
      • Settings for Opening Docs in Excel
      • USE CASE EXAMPLES >
        • Click Criteria
        • Date Created - Adhoc
        • Deliver Integrated Data to Advertisers
        • Demographic Comparison-Consensus vs Recent Data
        • Email and Website Behavior
        • Event Attendance Analysis
        • GeoLocation-Event Planning
        • Highest Clicked Topic
        • Job Title [Function]
        • Nth Query
        • Product Count - Adhoc
        • Product Cross-Engagement
        • Subscriber Score
        • Topic Interest
        • URL Clicks
  • AMS
    • AMS >
      • SUBSCRIBER RECORDS >
        • Search Records
        • Edit Records
        • Unsubscribe/Reactivate
        • Free/Paid
        • New Record
        • Potential Match
        • Add/Remove Records
        • View Batch History
      • AMS REPORTING >
        • Reporting Tool
        • Report Builder
        • AMS Report Examples
      • OPEN / CLOSE IMPORTS >
        • Open/Close
        • AMS Filters >
          • Creating Filters
          • Save Filters
        • Imports
        • File Validator
        • File Mapper Wizard
        • File Status
        • Edit File Mapping
        • Add Remove
        • Issue Splits
        • Complimentary Imports
      • Wave Mailings
      • Logging Out
      • AMS RESOURCES >
        • Code Sheet Viewer
        • Append/Update Process
        • Record Removal Process
  • DATA COMPARE
    • Navigating Data Compare
    • Add A New File
    • Mapping Columns
    • View Downloads
    • UAD Examples
  • DOMAIN TRACKING
    • Domain Tracking 101 >
      • Additional Data Points
      • How Domains are Tracked
      • GDPR Features for Domain Tracking
  • RESOURCES
    • GDPR Resources >
      • ECN/UAD/AMS File Imports/Exports/APIs
    • Additional Premier Training >
      • Training Checklist
      • Training Methodology
    • CLIENT IMPLEMENTATION >
      • Email Account Structure Guidelines
      • Dimension Mapping
      • System Maintenance
      • Product Inventory
    • Client Webinars
    • Glossary
    • Single Sign-On >
      • Best Practices
      • Admin Roles Defined
      • User Permission Glossary
      • User Role Types >
        • Predefined Customer Roles >
          • EMAIL ROLES
      • Navigating Accounts
      • Edit Your Profile
      • Users - View, Edit & Add
      • Roles - Creating & Customizing
    • Manage Preferences
    • Product Release >
      • Release Notes, December 2018
      • Feature Release 09/21/18
      • May 2017 Product Release
      • February 2017 Product Release
      • November 2016 Product Release
      • October 2016 Product Release
      • September 2016 Release
      • August 2016 Product Release
      • June 2016 Product Release
      • Feb 2016 Product Release
      • 2014-2015 Product Releases
    • Supported Browsers
  • SUPPORT
    • KM Support Portal Instructions
    • KM Support Portal FAQs
  • EMAIL MARKETING
    • GROUPS >
      • Manage Groups >
        • Archive
        • Export Group
        • Search Groups / Profiles >
          • Merge Profile
        • Seed List
        • Edit Profile
        • Standard Profile Fields
        • User Defined Fields (UDFs) >
          • Group Config
        • Subscriber Count
      • Add Group
      • Add Emails
      • FILTERS >
        • Smart Filters
        • Custom Filters
        • Copy Filter
      • IMPORT DATA >
        • Manual Import
        • API Import
        • FTP Import
      • SUPPRESSION >
        • PERSONALIZATION >
          • CodeSnippets
          • PURLs
        • Group Suppression Types
        • Opt-out Levels
        • Opt-out Preference
        • Master Suppression
        • Suppression Reasons
        • Error/Bounce Messages
    • Content / Messages >
      • MANAGE CONTENT >
        • Create Content >
          • WYSIWYG Editor. >
            • ALT Text for Images
            • Encoded URLs
            • RSS Feed
          • Design Templates >
            • Responsive Design
          • HTML Upload
          • Preheader Text
      • MANAGE MESSAGES >
        • Create Message >
          • Message Template Categories
        • Dynamic Tags
        • Link Source >
          • Link Alias
        • Message Types
        • Message Type Priority
    • Folders
    • BLASTS / REPORTING >
      • BLASTS >
        • Campaign Types >
          • Quick Test Blast
        • Set Up Blast >
          • Blast Fields
          • DEFINE RECIPIENTS >
            • Select Group(s)
            • Select Suppress Group(s)
            • Using Filters
          • DEFINE MESSAGE >
            • Blast Envelope >
              • Adding / Editing Blast Envelopes
              • Emojis in Subject Lines
            • Dynamic Personalization
          • Social Integration Options
          • Message Summary
          • SCHEDULE / SEND >
            • Tracking Options
            • Opt-out Preference
            • Google Image Cache Buster
            • Schedule Report
            • Email Preview
            • Schedule Blast
        • TRIGGERED EMAILS >
          • Message Triggers >
            • Use Case for Message Triggers
          • Smart Segment Filters
        • Campaign Item Templates
        • Manage Campaigns
      • REPORTING >
        • Report Categories
        • BLAST REPORTS >
          • A/B Summary Report
          • Blast Reporting
          • Campaign Report Definitions
          • Blast Report Samples
          • Campaign Statistics Report
          • Champion Audit Report
          • Click-Through Reports
          • Delivery Report
          • Emails Delivered by Percentage Report
          • Email Fatigue Report
          • Email Performance by Domain
          • Email Preview Report
          • How Opens are Tracked
          • Individual Blast Report
          • Link Report
          • Performance by Day & Time Report
          • Top Evangelists Report
          • Undeliverable Report
          • Unsubscribe Reason Report
        • GROUP REPORTS >
          • Audience Engagement Report
          • Click Report (Advertiser Click)
          • Campaign Item (Blast) Statistics Report
          • Group Attribute Report
          • Group Statistics Report
          • List Size Over Time Report
          • Master Suppression Source Report
          • Subscriber On/Off Report
          • Flash Report
        • Scheduled Reports
        • TRACKING & ANALYTICS >
          • Conversion Tracking
          • Google Analytics >
            • Google Analytics Domain Selection
          • Omniture Tracking
          • Topic Codes
    • ADMIN / CHANNEL MGMT >
      • Landing Pages >
        • Subscription Management Page
        • Unsubscribe Landing Page
        • Forward to a Friend Landing Page
        • Report Abuse Landing Page
        • Update Email Landing Page
        • Search Email
        • Change Email Address
        • Custom Unsubscribe Page
      • Salesforce Integration
      • Message Threshold
      • Gateway
    • EMAIL RESOURCES >
      • Email Marketing API
      • EMAIL BEST PRACTICES >
        • Advanced List Hygiene
        • Anti-Spam Legislation >
          • UNITED STATES
          • CANADA
          • EUROPE >
            • E-Privacy Directive
            • DPA: Data Protection Act
          • Legislation by Country
        • Email Client Support
        • Email Design Basics
        • Elements of an Engaging Email
        • Best Practices to Improve Email Campaign Performance
        • Supported Languages
        • What to Test for Best Results
        • Whitelisting
        • 5 Basics to Maintaining Email Reputation
        • 5 Tips for Mobile Friendly Email Design
      • DELIVERABILITY >
        • Deliverability Terms
        • Best Practices for Deliverability
        • KM Deliverability Services
        • SPAM >
          • Anti-Spam Legislation
          • SPAM Trigger Words
          • SPAM Avoidance Tips
          • Spam Scoring
      • DIGITAL EDITIONS >
        • Digital Edition Requirements
  • MARKETING AUTOMATION
    • Marketing Automation Overview >
      • Define Your Goal
      • Logging In
      • Home Screen Navigation
      • Add New Automation >
        • Building Automation >
          • Automation Controls
          • Automation Canvas
          • Control Properties
  • FORM DESIGNER
    • Form Designer Introduction
    • Logging In
    • Form Home Page
    • Adding A New Form >
      • Initial Set Up >
        • Auto-Submit Form
      • Form Properties
      • Subscriber Login
      • CSS/Styles
      • Form Controls >
        • Querystrings
      • Rules
      • Notifications
      • 3rd Party Output
      • Double Opt-In
      • Summary
  • UAD
    • Dashboard
    • AUDIENCE VIEWS >
      • Consensus
      • Recency
      • Product
      • Cross Product
      • Record
      • Brand
    • Sales View
    • Markets >
      • Creating Markets
      • Market Comparison
      • Market Use Case Example
    • FILTERS >
      • Standard Filters >
        • Circulation Filter
        • Activity Filter
        • Adhoc Filter
        • Saved Filters
        • Reading Filter Results
        • DOWNLOAD / EXPORT >
          • Data Masking
          • Download/Export Records
          • Download Template Setup
      • UAD REPORTING >
        • CrossTab Report
        • Demographic Reports >
          • Product Report - Pubcode
        • Geographic Reports
        • Company View
        • Email View
      • View Filters
      • Scheduled Export
      • Filter Comparison
      • Filter Category
      • Filter Segmentation
      • Question Category
    • CAMPAIGNS >
      • View Campaigns
      • Campaign Comparison
    • TOOLS >
      • GeoCoding
      • Summary Report
      • Record View Setup
      • Brand Setup
      • User Brand Setup
      • Download Template Setup
      • Merge Subscriber
      • CrossTab Report Setup
      • UserData Mask Setup
      • Custom Scoring
    • UAD RESOURCES >
      • UAD API Documentation
      • Merge/ Purge Process
      • Settings for Opening Docs in Excel
      • USE CASE EXAMPLES >
        • Click Criteria
        • Date Created - Adhoc
        • Deliver Integrated Data to Advertisers
        • Demographic Comparison-Consensus vs Recent Data
        • Email and Website Behavior
        • Event Attendance Analysis
        • GeoLocation-Event Planning
        • Highest Clicked Topic
        • Job Title [Function]
        • Nth Query
        • Product Count - Adhoc
        • Product Cross-Engagement
        • Subscriber Score
        • Topic Interest
        • URL Clicks
  • AMS
    • AMS >
      • SUBSCRIBER RECORDS >
        • Search Records
        • Edit Records
        • Unsubscribe/Reactivate
        • Free/Paid
        • New Record
        • Potential Match
        • Add/Remove Records
        • View Batch History
      • AMS REPORTING >
        • Reporting Tool
        • Report Builder
        • AMS Report Examples
      • OPEN / CLOSE IMPORTS >
        • Open/Close
        • AMS Filters >
          • Creating Filters
          • Save Filters
        • Imports
        • File Validator
        • File Mapper Wizard
        • File Status
        • Edit File Mapping
        • Add Remove
        • Issue Splits
        • Complimentary Imports
      • Wave Mailings
      • Logging Out
      • AMS RESOURCES >
        • Code Sheet Viewer
        • Append/Update Process
        • Record Removal Process
  • DATA COMPARE
    • Navigating Data Compare
    • Add A New File
    • Mapping Columns
    • View Downloads
    • UAD Examples
  • DOMAIN TRACKING
    • Domain Tracking 101 >
      • Additional Data Points
      • How Domains are Tracked
      • GDPR Features for Domain Tracking
  • RESOURCES
    • GDPR Resources >
      • ECN/UAD/AMS File Imports/Exports/APIs
    • Additional Premier Training >
      • Training Checklist
      • Training Methodology
    • CLIENT IMPLEMENTATION >
      • Email Account Structure Guidelines
      • Dimension Mapping
      • System Maintenance
      • Product Inventory
    • Client Webinars
    • Glossary
    • Single Sign-On >
      • Best Practices
      • Admin Roles Defined
      • User Permission Glossary
      • User Role Types >
        • Predefined Customer Roles >
          • EMAIL ROLES
      • Navigating Accounts
      • Edit Your Profile
      • Users - View, Edit & Add
      • Roles - Creating & Customizing
    • Manage Preferences
    • Product Release >
      • Release Notes, December 2018
      • Feature Release 09/21/18
      • May 2017 Product Release
      • February 2017 Product Release
      • November 2016 Product Release
      • October 2016 Product Release
      • September 2016 Release
      • August 2016 Product Release
      • June 2016 Product Release
      • Feb 2016 Product Release
      • 2014-2015 Product Releases
    • Supported Browsers
  • SUPPORT
    • KM Support Portal Instructions
    • KM Support Portal FAQs
kmLearning Center
Sentry Page Protection
Please Wait...

Personalization with CodeSnippets

If you've ever used a mail merge function in a word processing program, you'll find personalizing emails to be a similar process. Information which is unique to each recipient is contained in the fields within the group, such as FirstName, for example. For the unique information from a recipient's profile to be inserted into the content, the subject line, or a URL, you will need to insert a placeholder to alert the system to go find and grab that specific information. We call these placeholders CodeSnippets.

How Codesnippets Work
A CodeSnippet is essentially the field name encased by double percent signs. For example, the CodeSnippet for a recipient's first name is %%FirstName%%. It is the double percent signs that instruct the system to grab the information from the profile field. In the illustration below, you can see that the FirstName CodeSnippet was inserted into the email content. When the email went out, the double percent signs (%%) instruct the system to grab the unique information in the recipient's profile ("John") and inserts it into the email that was sent to the recipient.

Note - ​if the field being used is missing data within the subscribers profile, the CodeSnippet will be replaced by a blank space. If this is the case, you can utilize our Dynamic Tag functionality to input generic/'friendly'  text.
Picture
How to Insert a CodeSnippet

Email Content
To insert a CodeSnippet into your email content, use the CodeSnippet icon in the content editor. Place your cursor in the body of the email where you'd like the information to be inserted. Then select the CodeSnippet icon. A popup box will appear where you can select the group you will be sending the email to, along with the desired CodeSnippet (any field, standard or User Defined Field can be selected as a CodeSnippet). 
Picture
You can use any standard profile fields as CodeSnippets, as well as any UDFs in your groups following this format: %%user_udfname%%. Here is a basic list of CodeSnippets:
%%EmailAddress%%
%%Password%%
%%FormatTypeCode%%
%%SubscribeTypeCode%%
%%Title%%
%%FirstName%%
%%LastName%%
%%FullName%%
%%Company%%
%%Occupation%%
%%Address%%
%%Address2%%
%%City%%
%%State%%
%%Zip%%
%%Country%%
%%Voice%%
%%Mobile%%
%%Fax%%
%%Income%%
%%Gender%%
%%Website%%
%%Age%%
%%Birthdate [MM/DD/YYYY]%%
%%User1%%
%%User2%%
%%User3%%
%%User4%%
%%User5%%
%%User6%%
%%UserEvent1%%
%%UserEvent1Date [MM/DD/YYYY]%%
%%UserEvent2%%
%%UserEvent2Date [MM/DD/YYYY]%%
%%groupname%%
%%customer_name%%
%%customer_address%%
%%unsubscribelink%%
%%publicview%%
%%reportabuselink%%

%%emailtofriend%%
%%blast_start_time%%
%%blast_end_time%%
%%blast_id%%


Click the OK button when you are finished making your selections. The codesnippet will appear in the email content:
Picture
[Transactional data can also be inserted into email content using the Transnippet icon, for a recipient's order history, etc.]
Subject Lines
A CodeSnippet can also be inserted into a subject line to personalize the message and grab the recipient's attention. Since we are not working within the Content Editor, the CodeSnippet will need to be hand-written. Please note that misspelling a field name can cause an error in the email campaign and may result in a non-deployed campaign. A simple trick is to insert the CodeSnippet into a blank content, and copy/paste the CodeSnippet into the subject line (the content should not be saved, or if saved, can later be deleted as it will not be used). 

Picture
The subject line personalization will appear in the recipient's inbox:
Picture
URLs
Codesnippets can also be used to prepopulate data into a form field. Publishers will often use this when sending out requal emails. Here's an example of a requal link that uses three different CodeSnippets (SubscriberID, Password [pwd], and Promocode). 

https://eforms.kmpsgroup.com/jointforms/Forms/Subscription.aspx?pubcode=yzx&SubscriberID=%%SUBSCRIBERID%%&pwd=%%LastName%%&promocode=%%PROMO%%

When that link is used in an email and clicked on (A), the system grabs the associated data from the profile (B), and inserts the data into the link (C); when the completed link is used on the form, the data from the subscriber database populates the form in the appropriate fields (D). 
Picture
If you are using the PublicView codesnippet in your content, when a test email is sent, and that link is clicked, there will be an option to "Show Decoded Link Targets" which shows the  link without any coding (tracking code). 
Picture

Copyright © 2018 Knowledge Marketing, LLC., All Rights Reserved.                          Log Off                        
​Product Enhancement Request