The LiveConnect tag is a web tag that powers people-based targeting, campaign optimization, and cross-device, cross-browser attribution.
LiveConnect consists of two parts - a base tag and a conversion tracker. Below, we will outline how each part of LiveConnect works, as well as the implementation process.
If you're looking for instructions to activate LiveConnect within Shopify, please refer to Shopify LiveConnect implementation.
LiveConnect base tag implementation
Place the LiveConnect tag provided by your account team across your website so that it loads on all pages. You can deploy LiveConnect by adding it to the global header of your website through a tag manager or you can add it directly into the HTML.
To add the LiveConnect tag directly to your website HTML:
- Locate the <head> and </head> tags in your webpage or the head template in your tag management system or web platform. Please be sure that once in the tag manager, that LiveConnect is not placed into an iFrame or floodlight. This will prevent LiveConnect from properly firing.
- Paste the LiveConnect tag code at the bottom of the header section, just above the </head> tag. The LiveConnect tag can be added above or below existing tracking tags in your site header, as long as it is above the </head> tag.
Please do not make changes to the LiveConnect tag structure when placing the tag on your website.
Example LiveConnect tag shown below. Each LiveConnect tag is unique, and you should only use the tag provided by your account team.
When you're done, please reach out to your LiveIntent Customer Success team to confirm your implementation is operating properly.
LiveConnect conversion tracker implementation
A conversion tracker is an additional piece of code that communicates with the LiveConnect tag. When a user lands on a page where the conversion tracker and the LiveConnect tag are both present, the conversion tracker tells the LiveConnect base tag that an event has taken place.
For advanced examples, including more types of events and tracking, please see our Conversion Trackers and Events page.
Add the conversion tracker to the page where the conversion action takes place. The conversion should align with your campaign goal, such as a purchase confirmation page or subscription confirmation page.
Both the LiveConnect base tag and conversion tracker must be present on the page in order to track conversions. Both elements should be placed within the <head> section.