-
Notifications
You must be signed in to change notification settings - Fork 293
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
Merge boomerange and custom object and then fire beacon #265
Comments
You need to write a boomerang plugin that adds data to the beacon. You might also be able to do this by subscribing to |
Hi,
I have created the wrapper which override send beacon but I see it sends 2-3 ajax request in network tab with different data values. How do I make it just single call?
Thanks,
Pankaj
… On 03-Jul-2019, at 8:58 PM, Philip Tellis ***@***.***> wrote:
You need to write a boomerang plugin that adds data to the beacon. You might also be able to do this by subscribing to onbeforebeacon and adding it there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@pankajmahesh Rather than overriding send beacon, it will be better to follow @bluesmoon advice and create a separate plugin that listens for |
Let me describe the issue,
|
@pankajmahesh Boomerang may fire several beacons, depending on how your site is configured. If you want to share a page with Boomerang on it, we can take a look. Typically, Boomerang will send at least two beacons:
Of course if you've configured XHR or SPA or Error monitoring, those can all send additional beacons as well. The parameters on the beacon can help you differentiate what type of beacon it is. Look for the As the others have suggested, creating a plugin that listens for |
Thanks
Thanks,
Pankaj
… On 16-Jul-2019, at 6:26 PM, Nic Jansma ***@***.***> wrote:
@pankajmahesh Boomerang may fire several beacons, depending on how your site is configured. If you want to share a page with Boomerang on it, we can take a look. Typically, Boomerang will send at least two beacons:
Page Load
Unload
Of course if you've configured XHR or SPA or Error monitoring, those can all send additional beacons as well. The parameters on the beacon can help you differentiate what type of beacon it is. Look for the rt.start and http.initiator and rt.quit parameters. All of the parameters are described in the docs, e.g. for the RT plugin.
As the others have suggested, creating a plugin that listens for beforebeacon will give you the ability to BOOMR.addVar() before the beacon is sent. addVar() will either set or overwrite existing data, so you can use that as an interception point.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
hi,
Is there a way to intercept beacon fire from boomerang script and then fire single beacon with extra object merged?
thanks
The text was updated successfully, but these errors were encountered: