HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to capture UTM Parameters in a Cookie and transfer them to a (hidden) Form Field

41,708 views May 28, 2020 13:43

Watch on YouTube
ChannelMeasureSchool

Chapters

Description from the creator

UTM information is only visible on the Landing page. If you capture the information and transfer it into a cookie you can easily use it in e.g. a Form. That way, when the user submits the form, you’ll be able to also know where he originally came from. In this Tracking deployment we’ll do just that.

1. Capture the UTM Information and write Cookie
2. Read Cookie with Google Tag Manager
3. Fill in the Cookie value into a Form automatically

OUTLINE:

00:00 - Intro
00:36 - Why Transfer UTM Parameters into a Hidden Form Field Using a Cookie?
01:41 - Creating a New Form Field
02:57 - Pulling UTM Data into Google Tag Manager
05:25 - How to View Cookie Data in Chrome Developer Tools
06:07 - Creating a Cookie Variable in GTM
07:45 - Filling the Form Field with Your Stored Cookie Data
11:24 - Hiding Your Form Field
12:37 - Summary

🔗 Links:

Custom Tag Template: simoahava.com/custom-templates/persist-campaign…

Code for filling the form field: gist.github.com/measureschool/480ffdee9734cdda9…

🔀 GTM Copy Paste - Our Chrome extension chrome.google.com/webstore/detail/gtm-copy-past…

🚀 Hire us: measureschool.com/services/

About this tutorial

MeasureSchool published this 13:43 video tutorial on May 28, 2020. It has been watched 41,708 times on YouTube.

Duration
13:43
Published
May 28, 2020
Views
41,708
Likes
715

Tags

Share

This tutorial in other languages