Configuration and Customization
Onboarding some web pages, but not others
When onboarding your website to Mentionlink, you can configure the script to run on specific sections of your site rather than globally. This gives you precise control over where product mentions are detected and linked.
For example, if you run a food blog and want to test Mentionlink exclusively on your recipes section, you can configure it in the admin dashboard to target only URLs under /recipes/*. This ensures the script won't affect other sections of your website.
You can also exclude specific subsections. For instance, to enable Mentionlink on all recipes except vegan ones, simply exclude URLs matching /recipes/vegan/* in your dashboard settings.
This flexible URL-based configuration allows you to gradually roll out Mentionlink across your site.
Ignoring parts of web pages
To prevent Mentionlink from processing specific HTML elements and their children, add the data-mentionlink-ignore attribute to those elements.
For example:
<div data-mentionlink-ignore>
<p>Text you don't want Mentionlink to hyperlink.</p>
</div>