Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Who Me Too'd this topic


Level 2

We are building a new product with a website built via Salesforce (I found one unresolved article from 3 years ago but nothing else on the community).


- The site is primarily a single page application so no page refreshing

- The main user journey is an application process with "pages" based on flows

- A flow is a Salesforce mechanism for automating business processes and consists of steps that manipulate data, make decisions and show the data

- The screens use Lightning Web Components to show the data which Salesforce transforms into html


While I have managed to get an initial Adobe Analytics call to fire upon first page load, I haven't been able to track any field interaction, nor have I managed to pick up any custom events.


An example we tried was to fire this custom event when the page loaded and a rule to pick up the event.


this.dispatchEvent(new CustomEvent('Salesforce','Page1'));
Rule looking for custom event called 'Salesforce' didn't send any data back to Adobe Analytics but console log shows the custom event fired.


- What is the best method to track page changes? Should we fire custom events when a user clicks the NEXT button?

- How would I track field interactions on a single-page application... I appreciate this is quite a broad question but would the site being a single-page application impact this?


Any help appreciated.




Who Me Too'd this topic