- Published on
What is Data Layer ? How does it works-Part 1 ?
- Authors
- Name
- Emre Koc
- @58emrecan
Hello Today I'm going to explain to you important subject about Tag Manager and Data layer is really great piece of code for tracking in side of E-Commerce. We generally use enhanced commerce.
Imagine that A product sold in E-commerce and the price of product information is going to either Faceboook or Google Ads management panel. What is the point of advantage ? We could measure which campaign we set up is really effective
For example : The price is 2500 $ and we set up 2 different Campaign. it enables us to get a insight which campaign should we run ?
Learn more datalayer
we should assign a variable to recognize the products from each other.
How to Set Up Data Layer ?
Before getting set up Data layer You should determine which information do ı check ?
I'm talking about E-commerce and I would like to learn essentially :
These are my variable
Product Name : Price :
Okey at this point I'm going to open Tag Manager but I remind you I haven't got E-commerce Website That's why I couldn't show you real way.
Open the tag manager.
This is the general view and click the Preview part and go to website.
As you can see , it's connected with my website.
Okey now at the sidebar you are going to see each move and we record it.
You choose a product and click on it. but I have a blog website that's why I'm going to give you example by my website.
I choose "GoogleAds Enhanced Conversion With CSS Selector" and click on it.
Okey The information sends to Tag Asistant like a click.
An click the data layer and you are going to see all variable about the product.
This is how it's looking
All information is here and next step I'm going to show you How to Create a Google Analytics Event using GTM.
Have a good Day