On this page
What this issue is
data-nosnippet is an attribute you can add to a span, div or section element. It tells Google that the text inside must not appear in a search result snippet. Google says it also applies to its AI features in Search, such as AI Overviews.
The page can still be indexed and rank. Only the marked text is kept out of the description under your link. That makes the problem easy to miss: rankings look normal, but the snippet is thin or oddly chosen.
<section data-nosnippet>
<h2>Free 30-day trial, no card needed</h2>
<p>Book a demo and get set up in a day.</p>
</section>Why it costs you leads or sales
Your snippet is often the first thing a buyer reads. If your offer, price, guarantee or main benefit is hidden, Google fills the gap with weaker text such as menu items, cookie notices or footer lines. Fewer people click.
AI answers work the same way. Text marked with data-nosnippet is less likely to be quoted, so your best claims may not appear when an assistant summarises your page. The business impact is usually low, but it is a cheap fix.
With data-nosnippet on key copy
- Snippet shows a navigation or footer fragment
- Offer and guarantee are missing
- AI answers have less of your wording to quote
Attribute removed
- Google can choose the most relevant sentence
- Offer and benefits can appear under your link
- Page text is available to AI features
How to check if your site has it
View the rendered HTML
Open the page, press F12, and in the Elements tab press Ctrl+F (Cmd+F on Mac). Search for
data-nosnippet. Check the rendered DOM, because scripts can add it after load.Check what it wraps
Click each match and see which text sits inside. Note whether it is your headline, offer, price or form intro.
Search the raw source too
Use View Source and search again. If it appears only in the Elements tab, JavaScript is adding it.
Compare with the live snippet
Search
site:yourdomain.com/pageand see which text Google shows. Missing key sentences are a hint, not proof.Test with Search Console
In Search Console, run URL Inspection, then View crawled page, and look at the HTML Google stored.
curl -s https://www.example.com/landing-page | grep -n -o '.\{60\}data-nosnippet.\{80\}'How to fix it
Remove the attribute from any element that holds copy you want shown. Keep it only on text such as legal notes, internal labels or content you truly want kept out of snippets. Where you do this depends on how the page is built.
Find the source
Search your theme files and page builder blocks for
data-nosnippet. Some SEO plugins add it through a setting or a shortcode, so check your SEO plugin's snippet options too.Remove it
In the block editor, select the block, open Advanced and the Additional HTML or Custom HTML area, and delete the attribute. Edit theme templates through a child theme.
Search the theme code
Go to Online Store, Themes, the three-dot menu, Edit code, then search all files for
data-nosnippet.Edit and save
Delete the attribute from sections, snippets or templates that wrap key copy. Duplicate the theme first so you can roll back.
Check custom attributes
Select the element, open the Settings panel (gear icon) and look under Custom attributes for
data-nosnippet.Delete and publish
Remove the attribute, then publish the site. Also check embeds and site-wide custom code.
Check embeds and custom code
Wix does not expose attributes on most native elements, so look in HTML embeds and Settings, Custom Code for
data-nosnippet.Remove and publish
Delete the attribute and publish the site.
Check code blocks
Look in Code Blocks and in Settings, Advanced, Code Injection for
data-nosnippet.Remove and save
Delete the attribute and save. Check the page again in a private window.
Look for scripts that add it
In Tags, open Custom HTML tags and search for
data-nosnippetorsetAttribute. A script can add the attribute after the page loads.Edit, preview and publish
Remove the code, test in Preview mode, then publish the container.
Search the repository
Search templates, components and scripts for
data-nosnippetandnosnippet.Remove from key copy
Delete the attribute from headings, offers and benefit text. Keep it only on content you want hidden.
How to confirm it's fixed
- View Source and the rendered DOM no longer show
data-nosnippetaround key copy - Search Console URL Inspection shows the updated HTML after you run Test live URL
- Request indexing for the page so Google recrawls it
- Check the snippet again after a few days; Google may still pick its own text
- Test any page templates, not just one page
Google decides what to show, so removing the attribute makes your text eligible rather than guaranteed. Snippet changes can take days or weeks.
How to prevent it happening again
- Add
data-nosnippetonly through a reviewed change, never by default in a theme - Search the codebase for the attribute after theme, plugin or builder updates
- Keep a short note of every place it is used and why
- Review tag manager Custom HTML tags for scripts that add attributes
- Spot-check snippets for your top landing pages each quarter
How FunnelGuard handles this
FunnelGuard does not check for data-nosnippet yet. It is a possible future check, so today you need to watch for it yourself.
What FunnelGuard does cover nearby is the journey itself. A robot visitor runs your real lead forms, checkouts and booking steps on a schedule, checks the tracking hits, and confirms test leads arrive. That tells you whether visitors who do arrive can convert, not how your snippet looks in search.
To watch for this issue, search your code for data-nosnippet after every release, and use Search Console's URL Inspection to review the HTML Google stored. A free read-only website audit from FunnelGuard is also available if you want a general look at your site.
Questions people ask
What does data-nosnippet do?
It is an HTML attribute that tells Google not to show the text inside that element in search snippets. Google says it also covers its AI features in Search, so the text may be left out of AI Overviews. The page can still be indexed and rank.
Why is my key text missing from my Google snippet?
Google may be choosing other text because it picks the most relevant passage for each query. But a data-nosnippet attribute, a nosnippet or max-snippet directive, or a theme or plugin could also be hiding it. Search your page source for data-nosnippet first.
How do I remove data-nosnippet from my website?
Find the attribute in your theme, page builder, embeds or tag manager scripts, and delete it from the elements holding key copy. Then publish, recheck the page source and request indexing in Search Console. Keep it only on text you want hidden.
Does data-nosnippet affect rankings?
Google describes it as affecting what appears in snippets, not whether the page is indexed. Rankings should not change because of it. The main cost is a weaker snippet and less of your wording available to AI features.
Is data-nosnippet the same as the nosnippet meta tag?
No. The nosnippet robots directive applies to the whole page, while data-nosnippet applies only to the element it is placed on. Both can limit snippets, so check for each.
Can JavaScript add data-nosnippet after the page loads?
Yes. A script can set the attribute on an element after load, so it may be missing from View Source but present in the rendered DOM. Check the Elements tab in dev tools and the crawled HTML in Search Console URL Inspection.
Does FunnelGuard detect data-nosnippet?
No, not yet. It is a possible future check. FunnelGuard currently monitors journeys, tracking and lead delivery, so check this issue manually or with a crawler that searches page HTML.
Related issues
- SEO-035noarchive / nosnippet / max-snippet:0 removing rich snippetsFix guide
- SEO-026noindex meta tag on a money or landing pageFix guide
- SEO-032Conflicting robots directives (index and noindex both present)Fix guide
- SEO-031noindex injected by JavaScript after renderFix guide
- SEO-037unavailable_after directive with a past dateFix guide
- SEO-027X-Robots-Tag: noindex HTTP header on a landing pageFix guide