Can I use DXA to trigger JavaScript functions?
The Custom JavaScript Tags text box enables you to add any additional JavaScript to the existing DXA script. This can be used when it is not possible to use developer resources or when changes cannot be configured using a tag manager.
Advanced settings can be configured in Properties settings. This can be found by going to settings > Account Settings > Properties and clicking the Edit icon next to the relevant property and then clicking the Advanced tab.
You can use this text box to trigger tracked events, form submissions, custom dimensions, etc. Click Save Property once happy with your changes.