Lytics JavaScript Tag

Video Lesson6m 3sIntermediateReleased: June 25, 2020

Learn about the Lytics JavaScript tag and how it passes information from your website into Lytics user profiles.

Video Tutorial

What will I learn?

  • What default data and events are collected?
  • How raw event inputs are sent through the Data Streams.
  • How LQL mapping creates the Data Schema.
  • How User Fields are stored in the user profile.

Watch the "Lytics JavaScript Tag" video (6 mins) for an introduction to the Lytics JavaScript tag and how it passes information from your website into Lytics user profiles.

LQL Mapping

The video briefly mentions LQL mapping functions. See the Lytics Query Language course for more details.

Installing the Lytics JS Tag

To find the Lytics JavaScript tag in the Lytics UI, click your Account Name at the bottom of the lefthand navigation menu and click JavaScript Snippet from the expanded menu.

Make sure to use Version 3 of the Lytics tag. See the documentation for more information: 

You'll probably find it easier to install the Lytics JS Tag using a Tag Manager, like Google Tag Manager. See details at: Working with Tag Managers

Knowledge Check

Where can raw data fields be seen in the Lytics UI? Data Streams

Map the section of the data flow with the data points involved

Data Schema Includes mapped data on user profiles
Data Stream Includes mapped fields, even if no data
User Fields Includes raw values coming in from the web

Which data stream contains web data collected by the Lytics JavaScript Tag?

A. Experiences stream

B. Default stream

C. Custom stream

Answer: B

Where can you find the percentage of user data being used in audiences?

A. Data Streams

B. User Fields

C. Schema Audit

Answer: C

New fields added via the jstag.send method will automatically be added to a user's profile.

A. True

B. False

Answer: False - raw event data still needs to be mapped using Lytics Query Language (LQL) through the Data Schema first.

More Resources

Documentation

Here are some recommended resources to continue learning about the Lytics JS Tag.