Skip to main content
6sense stores each visitor’s company details in the browser’s local storage, but Kameleoon can’t match visitors on those details until you copy them into custom data. Each custom data runs a short script that reads one 6sense value and sends it to Kameleoon for the visit. Segments built on that custom data can match visitors by 6sense segment, company industry, confidence level, or buying stage. The same custom data can also filter or break down the Results page of an experiment. Learn more about 6sense

Use 6sense data attributes as a targeting condition in a Kameleoon segment

Each custom data reads one 6sense attribute from the visitor’s browser, and the segment builder can then use it as a targeting condition. If the browser holds no 6sense company details, the script sets no value for that visitor.

Fetch and use 6sense segment data in Kameleoon

Create a custom data that returns the 6sense segment IDs, so you can target visitors by segment.
  1. Create a custom data and name it 6sense Segment ID.
  2. Choose type List, scope Visit, and retrieval method Custom JavaScript code.
  3. Paste this code:
    To target visitors by segment name instead of ID, paste this code instead:
  4. Click Validate.
The New custom data form with the Custom JavaScript code method selected and the code that returns 6sense segment IDs.
Once you set up the custom data for the 6sense segments, you can build segments in the Kameleoon segment builder. Choose the custom data and the values you want to target. For instance, if you want to target visitors with the segment IDs 144075 and 206863, drag and drop the custom data 6sense Segment ID and use the operator matches the regular expression with the value 144075|206863.

Fetch and use 6sense company attributes in Kameleoon

Create a custom data for each company attribute you want to target, such as the industry.
  1. Create a custom data called 6sense Company Industry.
  2. Choose type Single, scope Visit, and retrieval method Custom JavaScript code.
  3. Paste this code:
  4. Click Validate.
Once you set up the custom data for the 6sense company industry, you can build segments in the Kameleoon segment builder by choosing the custom data and the name of the industry you want to target. For instance, if you want to target visitors in the Software and Technology industry, drag and drop the custom data 6sense Company Industry and use the operator contains with the value Software and Technology. Values are case-sensitive. You can create as many custom data as your use cases require. To learn more about all available data, contact the 6sense support team.

Fetch and use the 6sense confidence attribute in Kameleoon

Create a custom data that stores the 6sense confidence level, so you can target visitors by how confident 6sense is that its data is accurate.
  1. Create a custom data called 6sense confidence.
  2. Choose type Single, scope Visit, and retrieval method Custom JavaScript code.
  3. Paste this code:
  4. Click Validate.
The custom data’s value is one of Low, Moderate, High, or Very High, which indicates how confident 6sense is that the data is accurate for the current visitor. Once you’ve set up the custom data for the 6sense confidence, you can build segments in the Kameleoon segment builder by choosing the custom data and the confidence level you want to target. For instance, if you want to target visitors with a 6sense confidence Very High, drag and drop the custom data 6sense confidence and use the operator is equal to with the value Very High. Values are case-sensitive.
The segment editor with a condition on the 6sense confidence custom data set to is equal to Very High.

Fetch and use the 6sense intent score by buying stage

Create a custom data for each product whose 6sense buying stage you want to target.
  1. Create a custom data called 6sense myProduct Score, and replace myProduct with the name of your product.
  2. Choose type Single, scope Visit, and retrieval method Custom JavaScript code.
  3. Paste this code:
  4. Click Validate.
6sense’s intent score measures a visitor’s readiness to buy on a scale from 1 to 100. The custom data’s value is the buying stage that the score falls into:
  • Target: scores less than 20
  • Awareness: scores between 20 and 49
  • Consideration: scores between 50 and 69
  • Decision: scores between 70 and 84
  • Purchase: scores of 85 or greater
Once you’ve set up the custom data for the 6sense score, you can build segments in the Kameleoon segment builder by choosing the custom data and the buying stage you want to target. For instance, if you want to target visitors at the Decision stage, drag and drop the custom data 6sense myProduct Score and use the operator is equal to with the value Decision. Values are case-sensitive.