Trigger a frontend action from the backend

I am having trouble triggering a meta pixel event (or any frontend action for that matter) from the backend. Is there a workaround to this issue?

What do you mean? How are you triggering it? Share details… screenshots….

I use a Facebook plugin which actions are only executable from the frontend.

I need to trigger those events from the backend.

Use the API connector… (or a different plugin)

1 Like

Hey @floripaolo :wave:

Just to give an option (disclaimer: it may not be the best performant), you can change some data in the backend and observe this data in the frontend every X seconds, and trigger the actions you want when they change.

Of course, you can create a new data type for this purpose and make this data specific to each user or to each page, and pass more variables etc.

I hope this gives you some alternative.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

1 Like

That sounds like an easy approach.
I am trying to track a payment at the end of the trial period. Since the process is running in the backend the Facebook event action is not available. With this approach the event would only get triggered when the user is going to be online again, which is not ideal.

If this is the case, then it looks like your only option is to change the plugin (if alternatives exist) or call the api yourself as @adamhholmes suggested. Good luck :+1:

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.