The "Contact has searched" tag is a piece of HTML code used to indicate that a search has been performed and to identify which terms have been used.
What is this tag and where is it used?
The “cn_search” tag must be inserted on all search results pages.
Properties
This tag contains the "search_text" property and must be defined inside the "cn_search" tag as a child tag, indicating the name of the property in the "class" attribute.
The property to include in the label is:
Name | Required | Type | Multiple | Description |
---|---|---|---|---|
search_text | Yes | string | No | The text string used in the search. |
Example
Once included, the tag will look like this:
<div class="cn_search" style="display:none">
<span class="search_text">Texto de búsqueda</span>
</div>
Keep learning!
To make the most of your Connectif account, we recommend reading these articles next:
- Integration using tags, to discover all the notifications you can send from your ecommerce to Connectif and how they work.
- Integration using JavaScript events, to learn about this type of integration, which give you greater control over when and how to send events.
- Integration with Connectif via API, to synchronize contacts, products, purchases and vouchers.
- Check the integration with your ecommerce, so you can be confident that your data is syncing correctly with your Connectif account.