From the course: Advanced Google Tag Manager

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Website personalization by marketing campaign

Website personalization by marketing campaign - Google Tag Manager Tutorial

From the course: Advanced Google Tag Manager

Start my 1-month free trial

Website personalization by marketing campaign

- [Instructor] One major way to improve performance is to match the headline of your landing page to the campaign that is sent to the traffic. So for example, if I'm trying to get more growth engineers to signup for my community, and I'm running ads in San Francisco, I want to be able to put that into the titles to say, "San Francisco Growth Engineers." So how would I do that with Google Tag Manager? First, if I go into Google Tag Manager and then I create a tag, Tag Configuration, Custom HTML, I can paste whatever JavaScript I want in here. So here's something that I had a developer write, and I going to include this in the notes, and paste this in here. What this does, is it grabs the UTM campaign. That's this part of the URL where it says, "Equal San Francisco." Gets that value, and then it initializes some values we're going to use later, then it creates this switch statement on the UTM campaign. So what the switch…

Contents