![]() The format is “ data-” followed by a unique word to identify the Custom Data Attribute (bodystyle). To help differentiate them, we can add the following Custom Data Attributes: For instance, maybe they look like this:Īs it stands, there is very little information in those links about the types of documents. If you want to be able to differentiate which is which, it’s not always obvious looking at their linked URLs. Let’s say you have an automobile blog with a number of resources on your site, some involving Cars, and others involving SUVs. For best results though, a developer can help surface server level information and repetitively add that info to individual links.Ĭustom Data Attributes let you add your own information to HTML elements. Adding data attributes isn’t highly technical.Ī non-technical person with a CMS can begin implementing data attributes manually pretty easily.You can easily add additional tracking down the road.īy following the rules below you can almost immediately track any clickable things on your website.Rather than 100 lines of tracking code all over the place, or even on specific links, now your actual code is in one place (Ideally GTM) and it’s less likely to wreck your entire visitor session. Your site tracking becomes less prone to flying off course due to technical errors. ![]() The previously untrackable, can be quickly become trackable with specific details. ![]() No other method lets you as easily track extra info about external links, downloads and more.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |