Docusign anchor tags are text strings placed in a document that tell Docusign where to put signature, initial, date and other fields, so the fields land in the right spot every time without a sender dragging them into place. Docusign calls the account-level version AutoPlace text: you define the string once, add it to your documents, and each matching string becomes a field for the right recipient when the document is sent. For related detail, see our guides to Docusign templates and the Docusign API.
This guide covers how anchor tags work, how to set them up, how to hide them, how they behave in integrations, and why they sometimes miss. If you are new to the platform, start with what is Docusign for how envelopes, recipients and fields fit together.
What are Docusign anchor tags?
Docusign anchor tags are placeholders in the document text that Docusign searches for when a document is sent, placing a field for the matching recipient wherever the text appears. Automatic anchor tags are created at the account level, and the anchor text in the document uses `{r}` in place of the recipient ID, so one set of strings serves every sender.
What anchor tags give you:
- Consistent placement. A field appears at the same point in every copy of the document, whoever sends it.
- Less sender work. Senders select the signer role and Docusign places that recipient’s fields at the AutoPlace locations.
- Role-based fields. Docusign provides default AutoPlace fields by signer role, such as `\s1\` for Signer 1’s signature, `\i1\` for initials, `\n1\` for name, `\co1\` for company, `\t1\` for title and `\d1\` for date signed, with parallel strings for further signers.
- Content-linked fields. Anchor tags attach sender fields and dynamic tables to specific text strings, so fields move with the content when paragraphs shift.
Legal operations teams are putting more weight on this kind of repeatable control. A 2026 legal operations survey found that 80 percent of legal operations professionals list technology strategy as a key focus area, and field placement is one of the small, unglamorous pieces of that strategy that senders feel every day.
How do you set up auto-place anchor text?
You set up auto-place anchor text by defining the AutoPlace strings in your Docusign account, adding those exact strings to your document templates where each field should appear, and selecting the signer role for each recipient when you send. Docusign then places the appropriate fields at the AutoPlace locations for that recipient.
A clean setup follows four steps:
- Agree a string list. Start from the default role-based strings, and add custom strings only where a document needs a field the defaults do not cover.
- Edit the source templates. Put each string where the field belongs, in the Word or source file your team maintains, so every generated PDF carries it.
- Map roles. Make sure the signer role names your senders choose match the role numbers in the strings, so Signer 1 always means the same party.
- Test with a real send. Send each template to an internal test recipient and check every field before releasing it to senders.
One placement rule changes how you position the text. When a match is made, Docusign places the field at the first character of the AutoPlace string; classic behavior placed automatic anchor text tags to the right of the string. Put the string exactly where the top-left of the field should start.
How do you use anchor tags through the API?
You use anchor tags through the API and integrations the same way you use them in the web app: the document carries the anchor text, and the send defines which recipient each anchored field belongs to. Docusign’s integrations already rely on this, so you may get anchor placement through CLM or Salesforce before writing any custom code.
Where anchor text does the work in connected sends:
- Docusign CLM. Anchor text and custom fields can auto-place signature and other tags when documents go out from CLM Review and Send or Send for Signature steps, provided the document’s anchor text matches the AutoPlace text in the eSignature account.
- Docusign eSignature for Salesforce. Automatic anchor text acts as a placeholder for signature, initial and other tags tied to particular Salesforce role names, and the tags are placed at those locations when the document is sent. Docusign Gen for Salesforce can build the documents that carry them.
- Custom integrations. Developers define anchor-based fields on each recipient in the envelope request; confirm the exact field properties in Docusign’s developer reference before you build.
Keep one string list across all three. A CLM template whose strings differ from the eSignature account’s AutoPlace text sends documents with no fields, which surfaces as a confused signer and a resend.
How do you hide anchor text in a document?
You hide anchor text in a document by changing the color of the AutoPlace string to white or to the document’s background color, which makes it invisible to recipients while Docusign can still find it. The field is placed over the hidden text, so the signer sees only the field.
A few habits keep hidden strings from causing trouble:
- Use a small font. A small, white string takes up little room and is less likely to push other text onto a new line.
- Keep it on white backgrounds. If a section has a shaded background, match the string to that shade.
- Document the strings. Hidden text is easy to delete by accident, so list every string in the template’s change notes.
Why do anchor tags fail to place fields?
Anchor tags fail to place fields when Docusign cannot find an exact match for the string in the document, or when the match belongs to a recipient role that was never assigned. The most common causes are text that changed in editing, a mismatch between the document and the account’s AutoPlace text, and documents with no searchable text.
Check these causes in order:
- String mismatch. The document’s anchor text must match the AutoPlace text in the eSignature account exactly, including for documents sent from CLM.
- Role mismatch. The signer role chosen at send time must match the role the string refers to.
- Duplicate strings. An AutoPlace string used anywhere else in the document places a field there too, so a stray copy in a footer or a definition produces an extra field.
- Edited text. Track changes, auto-correct or a find-and-replace can break a string without anyone noticing, especially when it is hidden.
- No text layer. A scanned image has no searchable text, so there is nothing for Docusign to match.
When a field goes missing, open the source template, reveal hidden text, and compare each string character by character with the account list.
When should you use anchor tags versus fixed positions?
Use anchor tags when the document’s content moves, such as generated contracts whose clauses and page breaks change from one agreement to the next, and use fixed positions when the document is a stable form whose layout never changes. One account can use both: fixed positions for forms, anchors for generated agreements.
| Method | When it fits | What to watch |
|---|---|---|
| Anchor tags | Generated or frequently edited documents | Strings must survive every edit and match the account |
| Fixed positions in a template | Stable forms with an unchanging layout | Any layout change moves the field off target |
| Manual placement by senders | One-off documents | Missed fields and inconsistent placement |
In our implementations, locked shared templates carry pre-positioned signature and date fields alongside pre-filled, drop-down, radio and witness fields, so senders of standard forms never place a field by hand. For witness fields specifically, our guide to the Docusign witness signature covers how the witness step works.
Conclusion
Docusign anchor tags turn field placement into part of the document itself: define the strings once, build them into your source templates, and every send puts the fields in the same place. Keep one string list across the eSignature account, CLM and Salesforce, hide the strings carefully, and test each template with a real send before senders use it.
How Basla Solutions can help
Basla Solutions provides delivery teams for Docusign implementation, covering Docusign anchor tags and AutoPlace setup, locked template builds, CLM and Salesforce send configuration, testing, documentation, and post-go-live support. We bring legal technology services through staff augmentation or a Basla-managed delivery unit, working alongside your legal operations and IT teams.
Frequently asked questions
Are anchor tags case-sensitive?
Treat Docusign anchor tags as exact matches: write each string in the document exactly as it is defined in the account, with the same characters and the same case. Test any variation in a real send before you rely on it, because a string that does not match places no field.
Can one anchor place several fields?
One anchor string places a field at every point in the document where it appears, so repeating the string places the field several times. To place different fields close together, such as a signature and a date, use a separate string for each field.
Do anchor tags work with PDFs?
Anchor tags work with PDFs that contain real, searchable text, because Docusign places fields by finding the anchor string in the document. In our implementations, finalized contract PDFs generated during authoring receive their signature and date fields when they are sent for signature; scanned image PDFs need fields placed another way.
Can anchor tags be used in templates?
Anchor tags can be used in templates: add the AutoPlace strings to the template’s documents, and fields are placed for each recipient’s signer role at send time. Pair anchors with locked templates, so recipients, routing and fields stay fixed for every sender.
How do you offset a field from an anchor?
Docusign places a field at the first character of the AutoPlace string, so the simplest way to position a field is to place the string exactly where the field should start. If a field still lands slightly off, check the offset options available for your send method in your account or the developer reference, then retest.
Do anchor tags work with document generation?
Anchor tags work well with document generation, because the strings sit in the clause and template text and travel into every generated document. Docusign CLM can auto-place signature and other tags from anchor text when it sends the generated document for signature, provided the strings match the account’s AutoPlace text.
This article is for general information only and is not legal, business, financial or tax advice. For questions about your specific situation, please consult a qualified professional.

