![]() Data Layer EventsĪ quick example of data layer event can be, a newsletter signup form, which can’t be easily tracked with automatic GTM listeners. ![]() This chapter will provide more insights on how to interact with the data layer. In itself, data layer is a pretty complex concept to understand in the first go. On another note, when you place Google Tag Manager Container Code in your website, the data layer is automatically created. Here, we have different values such as an array of objects (the products), numerical values (the price), an array of strings (stores), a date object and an object (name). Following is a quick example of dataLayer with different data types − ![]() In Google Tag Manager, dataLayer is a JavaScript array. So, in a nutshell, the data layer carries information that can be used by different tools/users/stakeholders as required. Lastly, the information about other factors, such as whether the visitor subscribed for the email updates or not Other details about the purchase, such as where was the purchase made and at what time Transactional information, having the details about what was purchased Let us take an example of ecommerce website, business requirements might include − Taking another perspective for the definition, Data Layer is actually a list of business requirements and goals for each subset of the digital context. To elaborate it further, a Data Layer can feed the data into your analytics tool about your visitor. ![]() The term data layer is used to denote the data structure used by Google Tag Manager for storing, processing and passing data between your website/blog and the tag manager. A data layer can be seen as an object holding all the information to pass and process with Google Tag Manager. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |