> For the complete documentation index, see [llms.txt](https://docs.ingestlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ingestlabs.com/tag-manager/transformers.md).

# Transformers

The Transformers or the transformation functions are the main building blocks of data while implementing tags. The data layer value may return an object and needs to convert it into a variety of other formats to be used within tags or provider attributes.

The standard approach is to create multiple Data elements and format the value each time while creating other Tag Managers. This results in the same data being redefined in various occurrences. However, if the source data changes, then you must update all the instances where it is being read and transformed to different formats.

A transformation function can accept any number of data elements as inputs, format the data, and return it in a different format as required for a dynamic template parameter.

## Related Topics <a href="#relatedtopics" id="relatedtopics"></a>

The Transformers section includes the following topics:

* [Transformers Screen](/tag-manager/transformers.md)
* [Add a New Transformer (Browser)](/tag-manager/transformers/add-a-new-transformer-browser.md)
* [Add a New Transformer (Server)](/tag-manager/transformers/add-a-new-transformer-server.md)
* [Edit a Transformer](https://ingest-lab.netlify.app/tagmanager/transformers/editatransformer/)
* [Delete a Transformer](/tag-manager/transformers/delete-a-transformer.md)
* [Restore the Changes](/tag-manager/tags/restore-the-changes.md)
* [Transformer Version](/tag-manager/transformers/transformers-version.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ingestlabs.com/tag-manager/transformers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
