Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to pass beforeBuild and beforeSend options in AV Insight functions #2

Open
romainst opened this issue Apr 5, 2023 · 0 comments

Comments

@romainst
Copy link

romainst commented Apr 5, 2023

Hi,
Could you please add the possibility to pass a beforeBuild / beforeSend object within the AV Insights Media definition?
At the moment, if I want to execute a function that retrieves and sets my page's properties to make them available in the AV calls, I must call it manually before I call the AV function. Therefore if the call is made automatically by the SDK (heartbeats), I do not get my page properties in the data sent.
It would be great to be able to pass beforeSend and beforeBuild callback when defining the Media object so that ALL AV calls execute beforeBuild and beforeSend callbacks like it's done in sendEvent.

https://developers.atinternet-solutions.com/piano-analytics/data-collection/how-to-send-events/send-events-via-sdks#tagging-methods (beforeBuild and beforeSend options)
https://developers.atinternet-solutions.com/piano-analytics/data-collection/how-to-send-events/av-insights#media-instantiation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant