Do you want to add remarketing code, tracking code, or other custom code to your Foleon Doc? It might be possible with the Remarketing field.
💡 This feature field is not available to all plans. If you are interested in upgrading your plan to include this functionality, please reach out to your Customer Success Manager or our Support team.
In this article
What is the Remarketing field?
There is a wide array of possibilities, allowing you to implement anything from chat widgets to tracking software.
⚠️ The Remarketing field creates a lot of possibilities. However, with great power comes great responsibility.
Adding custom code to this field might cause issues for your content: it can break the navigation of the Foleon Doc, cause security issues for the reader or even break specific features. For that reason, any custom code that has been implemented is the responsibility of the creator. Although this feature is easy to use, make sure you know your custom code inside out. If you're not very experienced with coding, we don't recommend using this feature.
This also means that Foleon (and our Support team) can not assist with custom scripts that have been added in the remarketing field.
How to use the Remarketing field
You can add your custom code in the Foleon Doc Settings of your Doc, when you scroll down to the 'Marketing' tab. On the right side, you can copy-paste the script that your tool provides, in the "Remarketing code" field. You will need to build the script for these tracking codes within your different tools.
Please note that your custom code will not be active in the preview version of your Foleon Doc, only on the live version. After adding a script to the remarketing field, you will have to publish or republish your content to activate the code.
These codes can override was is written in the doc’s base codes in addition to extending or adding new functions or interactivity.
One example would be adding a widget like a chatbot or a floating window inside the live doc. The custom code in these example would be connecting from the external source to our doc through custom coding.
Current limitations of the Remarketing field
Foleon is a single-page application (SPA). Simply put this means that scripts placed in the Remarketing field will only fire the first time a page is loaded.
If you want your script to fire on each page, we suggest using Google Tag Manager (GTM) to insert your scripts.