Hey there, Measure geeks.
Are you on TikTok?
Are you running TikTok ads?
Well, TikTok is definitely getting a big thing.
And if you are running those, you also want to measure your advertising efforts.
And in this way you can identify which ads are generating the most conversions.
And by having this information,
you can also define your perfect audience and later show ads to them.
So let's configure our TikTok event tracking together.
To set up TikTok event tracking, you would need your TikTok ads manager.
And I'm here right now as well as your website.
And you should also know what events you would love to track.
In my case, I have this contact page
and this is where you can find my email and my phone.
And I want to track those as one event.
And we would also need our beloved Google Tag manager.
So please make sure that your Tag Manager is implemented on your website.
If you do not know how to set this up,
I would definitely recommend taking the Tag Manager course.
For example, the one created by Julian, which is available on YouTube.
And I will attach a link for you.
Let's go to our ads manager.
And here you should click Assets Events and we are working with the website.
This is why I select Web events and let's click manage.
And you can see this notification.
In order to create conversions, you need to install a TikTok Pixel first.
Well, it's like building a house.
In order to build one, you have to lay the foundation.
And this is exactly our foundation.
So we have to install our base,
our main pixel first and later we can create events.
So, step number one, let's create our pixel.
We should provide a name, let's say Base Pixel.
And we have two options, TikTok pixel or events.
API. We do not deal with API in this lesson.
This is why let's choose TikTok pixel and click next.
And here you can either install your code manually or set it up automatically.
Well, two options are perfectly fine since
we are working with the Google Tag Manager.
So if you select this one here, you have the Tag Manager integration
available and you would simply have to connect to your Tag Manager.
That's it. But let's select this option.
It does exactly the same thing.
So let's click next.
And we have an event builder here and custom code.
To be honest,
I'm not a big fan of an event builder because we want to implement our events
via the Tag Manager and I prefer having control over my tracking.
This is why let's select this option.
And don't be afraid.
You don't have to be a developer and you do not have to know how to code because we
would have a look at a really nice solution later.
So let's click next and voila.
So here you have this pixel and we can copy it.
Or you could also click this black button and let's go to our tag manager.
And here let's go to tags.
We should create a new tag tag
configuration and we should look for custom HTML.
And let's paste this code here and then the question when should it fire?
So this snippet must be installed on each page of your website.
So which trigger should we select?
Yeah, it should be all pages and let's provide name.
We can say tiktokbased pixel and let's save our tag.
Awesome.
So this was step number one, our foundation.
Now it's time to create our events.
Let's go back to our event manager and let's click next.
And here you can see view instructions so
let's click this one and you will be redirected to their documentation and it
can be really helpful so you can learn more about the setup.
So here you can see installed the pixel and we did it already.
And if you scroll down you can find the list of events you can implement.
In my case I want to track when a visitor contacts me.
This is why I need this contact event.
And here you can also see the event code
for it but I don't want to deal with code so what could I do?
Well, we will have a workaround here anyways, let's go back to our tag manager.
Before we do any implementation we should go to variables
and here let's click Configure and we should make sure that our clickbased
variables are activated so you should simply select those.
Awesome. And now let's also go to triggers.
So in my case I want to track link clicks, right?
So let's create our first generic trigger for links.
Let's write all links.
We will change it later.
So we will leave it like that for now.
Let's click Save and now we can click preview.
Let's click connect.
Okay, so you can see tag assistant connected and I should go to my contact
page and let's simply click my phone number as well as my email.
So let's go back to tag assistant and let's have a look at what we have here.
So you can see number 14 and this was exactly my click.
And if I scroll down under variables I can see click here row and here we have tab
column and if I changed the number 15 this was exactly my mail click right?
And here you can see mail to column. Awesome.
So now I can define my trigger.
Let's go to the tag manager and here let's
select the trigger that we already configured.
Let's click here and instead of all link
clicks we now want to specify our condition.
We say I want to track some link click
and specifically when someone wants to click my link to call me.
And we can copy this even here.
And we say click URL contains tell column.
We should also change the name
let's save our trigger and let's create a second one for the email.
So here we should go to just links some
link clicks again click URL contains and let's have a look.
Here. We have click URL mail too.
Great. So let's paste it here.
We should also provide a name.
Let's save this one.
So my triggers are ready to be used.
Now we should go to Tags and we should set up our tag.
So we had a look at the documentation already and we saw this event code.
And what ground do we have if we do not want to deal with code?
In this case, Templates come to our rescue.
Let's go to templates.
And here Set Gallery.
And let's look for TikTok.
And this one is an official template provided by TikTok.
So let's select this one and add it to our workspace.
Let's click Add and now it's ready to be used.
Let's go to Tags and we can define our text.
Let's click new tag configuration.
Here TikTok Pixel, the one we have just added and we have the Pixel ID.
So let's go back to our Event Manager.
Let's click complete setup.
And here you can see the ID.
So copy this one please and let's go back here and let's paste it.
So this is my ID.
My event is contact.
So you can select the event you would love to track from this list.
In my case, it's contact.
We will skip the advanced matching configurations for now.
So one step at a time.
So today we want to set up an event without any parameters.
So this is why when I go to Object Properties, I would select no contents.
In the upcoming lessons we will have a look at dynamic values.
But again, one step at a time and let's scroll down.
And when it comes to triggering, let's select our trigger.
So we have our phone click as well as Email.
So we have this or functionality and let's
provide a name to our tag and let's save our tag.
Awesome. So now we can test it.
But before we do that,
we should install an extension that is called TikTok Pixel Helper.
You can find it in Chrome Web Store.
And let's click Add to Chrome.
Add extension.
To be able to access it, we should pin it here.
And now let's go back to the Tech Manager and click Preview.
So what do we have to do here?
Let's go to Contact and we have to click our phone as well as Email.
And if we go to the Tech Assistant you can see TikTok Event, which is great.
So this means that you manage to set up your events correctly.
So let's go back to our website and let's have a look at the Pixel Helper.
So you can see base pixel page view.
And we have contact.
So I clicked two times, right?
And if you see this notification, the content ID received contains no value.
It's fine.
So you remember, in the Tag Manager, we selected no contents.
So we are sending this event without any parameters.
It's perfectly fine.
You can see that and you can simply ignore this warning.
So we tested our events and now we should
go back to the Tag Manager and we should click Submit.
Let's add some version name and let's click Publish.
Well done.
So if you go to the Events Manager so
sometimes it might take a while for your events to be recorded here.
So do not worry if you cannot see those immediately.
I hope you managed to implement your TikTok event tracking successfully.
Whoa, this was so much fun.
And I hope you managed to set up your tracking correctly.
If you like this video, please give a thumbs up.
And please do not forget to subscribe. See you next time.
Happy measuring.