...
You may wish to give individuals within your organization the ability to access StoreFront Recordings without giving them full access to your StoreFront. Within the user editor (Configuration → Account → Users), you can enable the individual permission as shown below:
...
Recording Custom Events
You can push additional events into the recording timeline using JavaScript on your site. Below is an example of pushing the answer to a Leads Hook question in as an event. Line three of this example sets up the global _uca array if it does not already exist. Lines 6-12 pushes the actual event. An event always have a name. The event can also have a params object which contains one or more parameters as key/values. This is arbitrary in nature.
Code Block | ||
---|---|---|
| ||
<script>
// Setup the global array if it doesn't already exist
window._uca = window._uca || [];
// Push an event into the global array
window._uca.push({
"name": "leadshook answer",
"params": {
"question": "How much weight are you looking to lose?",
"answer": '{how_much_weight}'
}
});
</script> |