Welcome to the WalkMe Help Center

Please login in order to continue:

Work flows better with WalkMe
Work flows better with WalkMe.

Using Website Functions within WalkMe

Last Updated May 16, 2025

Brief Overview 

WalkMe features can't call website functions directly. To work around this, the functions must pass their information as variables that WalkMe can read.

Supported features

The following WalkMe features can use data from website functions passed this way:

  • UUID
  • Rule Engine
  • WalkMe Data
  • Analytics

How It Works

To define the supported WalkMe features, use the type "Variable".

Rule engine example

Create a rule based on a function's returned value.

UUID example

Define a user identifier based on a website function.

Technical Notes

  • The best practice is to make the function available on all pages across the environment
  • Functions must be populated before WalkMe has loaded on the page
  • Functions must return a text value, or an array of values
  • Arguments cannot be used while incorporating the function into the rule (nothing inside the parenthesis)
  • When the returned value is a JSON, we can add a parameter after the function to further refine it
    • For example, if getUser() returns {Name:”Test User”, ID: “123”} then getUser().Name will only return the value “Test User”
  • Functions are not intended for mathematical calculations

Was this article helpful?

Thanks for your feedback!

Be part of something bigger.

Engage with peers, ask questions, share ideas

Ask the Community
×