The advanced appearance editor allows you to create and manage your designs by assembling blocks from basic and dynamic components.
In this article, we present the differences between Dynamic Actions and Buttons.
Dynamic Action:
In your appearance, when you use the dynamic component "Dynamic Action," it will adapt to the action you use in your scenario.
It will be identified by Poool as the main CTA of the widget.
Example:
We insert the component into our appearance:
From the preview, you'll be able to see what the button will correspond to in your scenario depending on the widget you use:
For 'Subscription':
For 'Free article':
And so on...
The texts that appear on dynamic actions are the default texts that you can modify in the Messages section of your Poool dashboard or by editing the widget from your scenario.
You'll find the list of all available actions in this article:
Button:
The button is a basic component that you can place and customize in your appearance.
The big difference with the dynamic action is that your button will be "fixed" in appearance and will not adapt to the widget you use in your scenario.
Example:
Let's place a button in our appearance:
For 'Subscription':
For 'Free Article':
And so on... The button remains the same no matter which widget you choose!
The basic button component gives you the possibility to adjust various elements related to the appearance and behavior that you wish to define for it.
By clicking on "Edit," you will access the "Settings" tab:
Here, you will be able to:
Define the text that appears on the button:
Define the action you want (Open a link or Trigger a JS event):
If you choose to trigger a JavaScript event, Poool will trigger the customButtonClick event on which you can rely to trigger the action of your choice.
On this last point, you can delve deeper by consulting this article:
Define the HTML type of the element and assign it an identifier:
Dynamic Action vs Button: How to track clicks?
The dynamic action is recognized by Poool as the main CTA. Thus, clicks on this type of buttons will appear in the "Statistics>Clicks" tab of your Poool dashboard.
However, clicks on the basic Button component will not appear in your Poool dashboard.
Nevertheless, you will be able to track clicks on this element in your analytics tool (GA, Piano, etc.) because Poool triggers the customButtonClick JavaScript event when clicking on these buttons.
Thus, you can track click-related information directly in your analytics tool.
Conclusion:
The dynamic action allows you to have an appearance that adapts to the widgets you use in your scenarios.
The button will be "fixed" in appearance but will give you more customization options for links and actions you want to trigger on click.
However, tracking of these actions is not managed by Poool.
Any doubts or questions? Feel free to contact us via chat!