Tracking Code - an introduction
Tracking codes are strings of numbers and letters which is executed when the website is called up. The tags sends data such as IP address, clicked URLs or duration of stay to the server or the program used for analysis.
Other possible functions that a tracking code can perform using the appropriate web analytics tools include:
- Event tracking
- Measuring reading depth
- Capturing visitor attention with heat-maps
- Control of clicks through advertisements
- Campaign tracking
NPF Tag Manager (NoPaperForms Tag Manager) is a tag management system which lets you configure and instantly deploy tags (tracking codes) at various NPF entities (widgets, landing pages, application pages and payment page) from a lucid user interface.
As of now, following tags can be configured using NPF Tag Manager:
- Google Universal Analytics
- Google Analytics GA4 Configuration
- Google Remarketing Code
- Google Conversion Code
- Facebook Pixel Code
- LinkedIn Insight Tag
- Quora Pixel
How to identify tags (tracking code)?
Google Universal Analytics
Google Universal Analytics is in the format UA-XXXXXXX-Y and is referred to as Tracking ID. This type of codes are placed to track user activities, measure website traffic and track user analytics. (These are generally placed at pageview or widget load instance)
Sample Code :
Google Analytics GA4
Google Analytics GA4 Configuration is in the format G-XXXXXXX and is referred to as Measurement ID. This type of codes are placed to track user activities, measure website traffic and track user analytics. (These are generally placed at pageview or widget load instance)
Sample Code :
Google Remarketing Code
Google Remarketing Code is in the format AW-XXXXXXXX and is referred to as Conversion ID. These codes are used build targeted audiences for future ads and remarket it to people who have already taken some kind of action on your website. (These are generally placed at pageview or widget load instance)
Sample Code :
Google Conversion Code
Google Conversion Code consists of two components, i.e. Conversion ID and Conversion Label and is in the format AW-XXXXXXXXXXXX/YYYYYYYYYYYYYYYYYYY. The value before the slash ‘/’ is referred to as Conversion ID and after the slash ‘/’ is referred to as Conversion Label. These codes are used to track conversions. (These are generally placed at Thank You/ Complete Registration/Payment Success instance)
Sample Code 1 :
Sample Code 2 :
Facebook Pixel Code (also referred to as Meta Pixel Code)
The Facebook pixel is a piece of code that you place on your website to collect the data that helps you track conversions from Facebook ads, optimize ads, build targeted audiences for future ads and remarket it to people who have already taken some kind of action on your website.
There are two types of Facebook Pixel Codes: (1) the Base Pixel code and (2) the Event Pixel code
The Base Pixel Code is generally placed at Page Load or Widget Load instance whereas the Event Pixel Code can be placed at Thank you, Registration Success or Payment Success instance. It is important to select the correct event for which the Event Pixel has to be placed. The events can be ‘Page View’ , ‘Lead’, ‘Complete Registration’ or ‘Purchase’. The correct event can be identified from the code snippet itself.
Sample Code (Facebook Base Pixel) :
Sample Code (Facebook Event Pixel) :
LinkedIn Insight Tag
The LinkedIn Insight Tag is a lightweight JavaScript tag that empowers conversion tracking, website audiences, and website demographics. The code is generally seen in a numerical format and is referred to as partner id (pid) and may also contain a numerical conversion id.
Sample Code (without Conversion ID) :
Sample Code (with Conversion ID) :
Quora Pixel Code
The Quora Pixel is a tool that is placed on your website code to track traffic and conversions. When someone clicks on your ad and lands on your website, the Quora Pixel allows you to identify how many people are visiting your website and what actions they are taking.
There are two types of Quora Pixel Codes: (1) the Base Pixel code and (2) the Event Pixel code
The Base Pixel Code is generally placed at Page Load or Widget Load instance whereas the Event Pixel Code can be placed at Thank you, Registration Success or Payment Success instance. It is important to select the correct event for which the Event Pixel has to be placed. The events can be ‘Page View’ , ‘Lead’, ‘Complete Registration’ or ‘Purchase’. The correct event can be identified from the code snippet itself.
Sample Code (Base Pixel) :
Sample Code (Event Pixel) :
Note: Above mentioned types of tracking codes/tags are supported by the current version of NPF Tag Manager, In case of any other type of tracking codes, please connect with your Account Manager.
Happy Tracking!