Add Farcasts to your site
Copy this one line and paste it into your site’s <head>. That is the whole setup.
<script src="https://app.farcasts.com/farcasts.js" data-cfasync="false" data-farcasts-project="YOUR_PROJECT_ID"></script><script async src="https://app.farcasts.com/farcasts-track.js" data-cfasync="false" data-farcasts-project="YOUR_PROJECT_ID" data-farcasts-track-endpoint="https://t.farcasts.com" data-farcasts-track-key="phc_CzXwcg28Mo4jd6gqGcXaTSQUXFjxFFjnMvfXhrqwiVsc"></script>Paste both lines. The second one records how visitors interact with your site, so Farcasts can tell which variant wins.
Replace YOUR_PROJECT_ID with the project ID shown in your Farcasts dashboard. Your dashboard gives you the finished line with your ID already filled in, so you can copy it straight from there.
That is it
Section titled “That is it”Paste it once. You do not need to change any settings, add anything else, or paste it again. Once it is live, your dashboard will show it as connected, and you are ready to go.
Where do I paste it
Section titled “Where do I paste it”Pick your platform for the exact spot:
- Shopify (on Shopify you can skip the pasting, our app turns Farcasts on for you)
- Next.js or React (for developers)
Coming soon (and we are happy to set these up for you in the meantime):
If your platform is not listed, paste the line anywhere your site lets you add custom code to the page header. If you are not sure, send the line to whoever manages your site and ask them to add it to the <head>.