In the DataLayer of Google Tag Manager information about your website can be sent to the container. In this help article, we will explain how DataLayer works and how you can use it to push information from Leadinfo to Google Tag Manager.
To push information from Leadinfo to Google Tag Manager, access to our API is necessary. To gain access our developers need to whitelist your website. This is not a default in our subscription model. If you want to know more about the costs of the product, please reach out to firstname.lastname@example.org.
What is DataLayer?
DataLayer can also be used to push Leadinfo data to the Google Tag Manager container. This enables you to fire certain tags based on the characteristics of a website visitor.
How to implement DataLayer?
//show data in your browser console
//example on how to push data to the dataLayer
Above is an example of how we push the company name and city to Google Tag Manager.
How to use DataLayer?
When this is implemented correctly, you can use the Leadinfo information to set triggers or add the data as a variable to your tags.
Are you interested in more information on variable and custom triggers? Please read these articles from AnalyticsMania where this is further explained.
Leadinfo does not deliver any support in setting up your Google Tag Manager. Reach out to your web developer when you have any questions.