Script Timing, Custom Fields and First Session Load

For Workes & Pages, what is the name of the domain?

What is the error number?

No errors

What is the error message?

No errors

What is the issue or error you’re encountering

WebAPI events in the appear to be loading after the trigger action.

What steps have you taken to resolve the issue?

Added a 5000ms timer delay to the action. Is this best practice? Is this the best way to deal with this? Every trigger will need between a 2000ms to 5000ms timer to ensure it loads on the first session.

What are the steps to reproduce the issue?

I can reproduce the issue with a fresh incognito browser load and checking meta pixel test events.

Screenshot of the error

It’s unclear what you’re trying to do and/or what the error is.

Regardless, “Timer” isn’t used for setting delays, it’s using for settings intervals, meaning events that should happen every X seconds.

If you want to delay an event for some reason, do it using zaraz.track() and setTimeout, in your website’s code.

I thought I had found a solution, unfortunately my issue still persists. The issue is the custom parameters are not being sent on the first page load for the ViewContent event. Please see attach image and compare the first load vs second page load, where the custom parameters load correctly.

Thank you for the support.