What is the best way to send strings (vectors) of data using a single sever call on exit link
We want to enhance our engagement reporting by collect data on interaction with Key elements for a content site.
I want to collect information on Important page sections by collecting how long each one is in the view port, and if was it moused- over.
Initially the list might be limited to collecting 3 or 4 per page, but would like to expand that to all important elements (20?) with dwell time.
I don't want to waste a server call on each of these- rather gather them as strings or value pairs pushed to the dataLayer.
Upon exit - push all the engagement data using one (exit link) server call
so:
ITEM DURATION Mouse- Over
Key item 1 20 seconds true
Key item 2 <5 seconds false
Key item 6 20 seconds true
Key item 8 <90 seconds true
Key item 9 20 seconds false
+ other dataLayer values