Skip to main content
All CollectionsHow Made with Intent works
What metrics are returned in the Intent script
What metrics are returned in the Intent script
Charley Bader avatar
Written by Charley Bader
Updated over a week ago

With Made with Intent, every customer has a set of data points returned against them as they navigate through your site. These are used to build the Made with Intent segments and can also be used to build custom segments of your own. All of this user data is held within local storage, and you can view your own in the dev console using the following:

JSON.parse(localStorage.getItem('intent.inference.last')) || '{}';


Below you can find a list of all the data points returned in each inference

  • Affinities (these are all based on your data layer)

    • page_brand - the brand a user has an affinity towards

    • page_category - the page category a user has an affinity towards

    • page_subcategory - the page subcategory a user has an affinity towards

    • page_type - the page type a user has an affinity towards

    • page_url_slug - the page a user has an affinity towards based on URL slug

    • product_brand - the product brand a user has an affinity towards

    • product_category - the product category a user has an affinity towards

    • product_name - the product a user has an affinity towards (name)

    • product_price_band - the product price band a user has an affinity towards

    • product_sku - the product a user has an affinity towards (SKU)

    • product_subcategory - the product subcategory a user has an affinity towards

    • product_url_path - the product a user has an affinity towards based on URL path

    • top - the top affinities a user has from all the above data points

  • Buying_Stage

    • Journey - the journey a user has gone through the buying stages

    • label - the current buying stage of a user

    • max_label - the maximum buying stage a user has reached

  • Has_Changed - this will only populate with information when there has been a change in the variables

  • Intent

    • xatc - expected add to cart / basket

      • latest - the latest expected add to cart score

      • latest_label - the latest expected add to cart score label (low, medium, high)

      • latest_pctile - the latest expected add to cart score percentile

      • max - the maximum expected add to cart score a user has reached

      • max_label - the max expected add to cart score label a user has reached (low, medium, high)

      • max_pctile - the max expected add to cart score percentile a user has reached

    • xc - expected conversion

      • latest - the latest expected conversion score

      • latest_label - the latest expected conversion score label (low, medium, high)

      • latest_pctile - the latest expected conversion score percentile

      • max - the maximum expected conversion score a user has reached

      • max_label - the max expected conversion score label a user has reached (low, medium, high)

      • max_pctile - the max expected conversion score percentile a user has reached

    • xe - expected exit

      • latest - the latest expected exit score

      • latest_label - the latest expected exit score label (low, medium, high)

      • latest_pctile - the latest expected exit score percentile

      • max - the maximum expected exit score a user has reached

      • max_label - the max expected exit score label a user has reached (low, medium, high)

      • max_pctile - the max expected exit score percentile a user has reached

    • xp - expected progression

      • latest - the latest expected progression score

      • latest_label - the latest expected progression score label (low, medium, high)

      • latest_pctile - the latest expected progression score percentile

      • max - the maximum expected progression score a user has reached

      • max_label - the max expected progression score label a user has reached (low, medium, high)

      • max_pctile - the max expected progression score percentile a user has reached

    • xr - expected return

      • latest - the latest expected return score

      • latest_label - the latest expected return score label (low, medium, high)

      • latest_pctile - the latest expected return score percentile

      • max - the maximum expected return score a user has reached

      • max_label - the max expected return score label a user has reached (low, medium, high)

      • max_pctile - the max expected return score percentile a user has reached

  • Journey

    • performance_score - the users current intent performance score

    • phase - the users current intent performance phase

    • segment - the users current intent performance segment

    • state - the users current intent performance state

  • Momentum - the recent trend of a specific metric

    • xatc - expected add to cart / basket

      • momentum - the latest momentum score

      • momentum_label - the latest momentum score label (very negative, negative, steady, positive, very positive)

    • xc - expected conversion

      • momentum - the latest momentum score

      • momentum_label - the latest momentum score label (very negative, negative, steady, positive, very positive)

    • xe - expected exit

      • momentum - the latest momentum score

      • momentum_label - the latest momentum score label (very negative, negative, steady, positive, very positive)

    • xp - expected progression

      • momentum - the latest momentum score

      • momentum_label - the latest momentum score label (very negative, negative, steady, positive, very positive)

    • xr - expected return

      • momentum - the latest momentum score

      • momentum_label - the latest momentum score label (very negative, negative, steady, positive, very positive)

  • Segments - the segments a user has matched (both Made with Intent made and custom made)

Did this answer your question?