Auto ads

Prevent a link on your site from triggering vignette ads

You might have certain links on your site that you don't want to trigger vignette ads. You can prevent specific links from triggering vignettes by adding the data-google-vignette="false" parameter to the link's anchor (<a>) tag in your HTML code.

After you make this change and save your HTML code, a vignette ad won't be triggered when a user clicks on the link. This is particularly useful for preventing vignettes on navigation elements or other site elements where they might be disruptive.

Example

<html>
<body>
<h1>Page title</h1>
<p>This is a paragraph with <a href="https://www.google.com" data-google-vignette="false">an example link</a></p>
</body>
</html>

Tip: Add the data-google-vignette="false" parameter to each link that you don't want to trigger vignettes.

Was this helpful?

How can we improve it?
true
Unlock your revenue with personalized tips today!

Visit the Optimization tips for AdSense page to see personalized suggestions to maximize your revenue.

Unlock now