Layout Component naming – Technical naming convention

The technical naming convention names the Layout Component the same as the technical name of the component.

Ignoring the contents of the component.

It works best if all your components are in a component library.

Advantages

  • It’s easy to tag, you tag it once in the component library and it’s used everywhere.
  • You can include the title of the Layout Component, clarifying where it’s being used.
  • The simplicity of the implementation means less development time spent on maintenance,

Drawbacks

  • In the analysis, the Layout Component name will be “card” or “table”, which doesn’t clarify the use case.
  • Aggregating interactions between components becomes difficult. If a site has a table that lists all the products and another table listing “Top posts”, customers will interact with them differently.
  • The analysts have to learn all the technical names for components.
  • It’s not always clear where the interactions happened. This forces the analyst to look for the interaction on the site, wasting time.

Technical naming is the quickest way to get Component Analytics up and running on your site.

But depending on the contents of the site, it may make the analysis take longer.

– Samy

Component Analytics daily

Every weekday, I publish about Component Analytics and analytics collection strategies.