is there a way to access the on click event of the layer that I use in my journal map?
Yes, you can access the maps included in your Journal through the app.maps object, for example
will give you access to the map object of web map with the specific id
Note that app.maps is only populated when you navigate to the the section containing it.
So you have to listen to a map load before placing your click listener
// After a map is loaded (when the map starts to render)
console.log("The map", result.id, "has been loaded");
This code can be placed in index.html after this line map-journal-storytelling-template-js/index.html at master · Esri/map-journal-storytelling-template-js · GitHub
More information about customization at GitHub - Esri/map-journal-storytelling-template-js: The Story Map Journal is ideal when you want to combine narrative te…
Retrieving data ...