dataLayervariable is a stack used by various Google Products (Google Analytics, AdWords, AdSense, etc.) to push and subscribe to events happening during the visitors' sessions.
<img>tags for tracking pixels,
<div>tags for presentation purposes, etc. But for the sake of user experience, Google also provides a curated list of templates, both from them and from the community that you can find using their wizard.