Getting Started
First steps to start tracking analytics with Fusionaly
This guide covers your first steps with Fusionaly.
Prerequisites
Section titled “Prerequisites”Before you begin, make sure you have:
- Fusionaly installed on your server (see the Installation guide)
- Admin access to your websites
Step 1: Integrate the Tracking Script
Section titled “Step 1: Integrate the Tracking Script”Add the tracking script to your website. Place this script in the <head> section of your HTML:
<script defer src="https://your-domain.com/y/api/v1/sdk.js"></script>Replace your-domain.com with the domain where you installed Fusionaly.
Place the script as early as possible in <head>. This gives you the most complete data.
Step 2: Access Your Dashboard
Section titled “Step 2: Access Your Dashboard”After you install the tracking script, open your dashboard at:
https://your-domain.com/The dashboard shows real-time data from every website that uses your tracking script.
Step 3: Verify Tracking
Section titled “Step 3: Verify Tracking”After you install the tracking script:
- Visit your website in a browser.
- Check your Fusionaly dashboard.
- Page views appear in real time.
- The SDK tracks page views, button clicks, and SPA navigation on its own.
The One Thing to Remember
Section titled “The One Thing to Remember”Add data-fusionaly-event-name to any element you want to track. Use it on buttons, links, and forms. It works the same way everywhere.
<button data-fusionaly-event-name="signup_clicked">Sign Up</button><a href="/pricing" data-fusionaly-event-name="pricing_viewed">Pricing</a><form data-fusionaly-event-name="contact_submitted">...</form>Fusionaly tracks page views and button clicks on its own. You do not need attributes for these.
What Works Out of the Box
Section titled “What Works Out of the Box”- Page Views: Every page load, every SPA navigation
- Button Clicks: Every button, named from its text (for example
button:submit,button:cancel)