Print






How to install FROGED with a script?

Script and chill
To fully utilize the FROGED platform, you will need to complete the installation process. It's easy 😀 and takes less than 15 minutes!
Prefer to use CMS? No problem, here is a guide to install FROGED in CMS.
1. Copy the code snippet "Manual code installation" from settings/install.

2. Paste the FROGED code into the head section of your platform or webpage.
3. Verify it has been installed correctly by clicking on "Next" the test your setup. Write your webapp URL and click on "Verify Installation".

Then, visit your webapp to check all is working well.

4. If your app has logged-in contacts, you need to configure the 'Set' options. With this function, your visitors' information will be updated.
<script>
Froged('set',
{ userId:"User id in your database",
email:"Email address",
name: "Full name"
}) </script>
Insert the following script -with the red values replaced- after step 2. Like this:
NOTE: It's especially important that attributes such as 'userId' and 'email' are included, so your users' information merges once a visitor becomes a contact. You can also add any custom attribute you have created, we provide an installation plan to facilitate it.
Get Installation Plan
Furthermore, add accounts' set script to activate accounts -with the red values replaced- after user set. Like this:
Furthermore, add accounts' set script to activate accounts -with the red values replaced- after user set. Like this:
5. If you have inserted the script from the previous step to identify the user or account, it is very important that you run this script when the user logs out of your app. With this, your application is completely synchronized with FROGED.
<script>
Froged('logout');
</script>
Done! Now we assure you'll make the most of FROGED.
Related articles:
More information about SDK javascript here.
To see other install methods, see install Froged in CMS.
Still not sure which option is best for your team? Contact us!