In most cases, the Visibility toolkit is enough to target the right pages for your offers. However, there are some cases where you need more control over the targeting. Consider using advanced targeting when:Documentation Index
Fetch the complete documentation index at: https://docs.gocertify.me/llms.txt
Use this file to discover all available pages before exploring further.
- You need to add aditional variables to the placement that are not available in your DataLayer or CMS (e.g. custom promotional phrases for specific products)
- You want to display offers for particular SKUs or product categories that can’t be easily identified through standard DataLayer or CMS parameters.
Defining a target
Each target is defined by an “identifier”. The first step is for you to decide what identifier you want to use. In most cases, this will be a SKU. Then, you need to create the placement you want to run your offer. Remember that you make your messaging more engaging by adding dynamic text using variables. Finally, add all the targets you want to run your offer on.
Importing targets from CSV
When uploading multiple targets via CSV, the form displays the required column format:
- identifier (required) - The target identifier (e.g., SKU)
- placement_token (required) - The placement to associate with the target
- name (optional) - A human-readable name for the target
- Any additional columns will be added as variable definitions for your placement
Searching targets
Use the search field to find existing targets by name or identifier. The search uses full-text matching with prefix support, so you can:- Search by partial terms: typing “pro” will match targets containing “professional” or “product”
- Use multiple search terms: typing “Plus Silver” will match targets where both terms appear, such as “BAR Plus USB Flash Drive 512 GB Silver”
- Search across fields: queries match against both the target identifier and name
Triggering the placement
Once targets are configured in the platform, you need to trigger them on your website. There are two methods available:Using the web component (Recommended)
The simplest way to display a target is to add the<gocertify-target> web component directly in your HTML where you want the placement to appear:
identifier attribute should match the identifier you configured for the target (e.g., a SKU). The component automatically fetches the placement content and renders it inline.
Using JavaScript
If you need more control over when the target loads, you can use the JavaScript function. This is useful when the identifier needs to be dynamically retrieved from the page (e.g., from a hidden HTML element or DataLayer):cssAnchor parameter is optional. Use it to specify where the placement should appear if it’s not already defined in the placement configuration.