Start Here
Sark App helps you answer a simple question: where are your visits, leads, and sales coming from?
- Create your account.
- Confirm your email.
- Add your website.
- Copy your tracking code.
- Put the code on your website.
- Check that visits are showing.
- Add lead or sale tracking when you are ready.
Step 1: Add Your Website
A website in Sark App is the site you want to track. When you add it, Sark App creates a special tracking code for that site.
- Log in to Sark App.
- Go to Sites.
- Click Add New Site.
- Type your website domain.
- Click Add.
Examples you can enter:
example.com
https://example.com
www.example.com
Step 2: Get Your Tracking Code
A tracking code is a small piece of code that tells Sark App someone visited your website.
- Go to Sites.
- Find your website in the list.
- Under Options, choose Install.
- Copy the tracking code shown in the popup.
- Paste it on your website before the closing </body> tag.
Shortcut: Sites -> Options -> Install
The code will look like this:
<script
src="https://cdn.sark.app/sarkapp.js"
data-api-key="YOUR_API_KEY">
</script>
Do not use the example key above. Your real code is inside Sark App under Sites -> Options -> Install.
Step 3: Track Instagram, Email, YouTube, And Ads
If you want Sark App to use a specific source for your visitors, use a special link with utm_source.
Think of utm_source like a label. It tells Sark App, "this visitor came from Instagram" or "this visitor came from email."
Simple examples
https://yourwebsite.com/?utm_source=instagram
https://yourwebsite.com/?utm_source=email
https://yourwebsite.com/?utm_source=youtube
Better examples with campaign names
| Where you post the link |
Example link |
| Instagram bio |
https://yourwebsite.com/?utm_source=instagram&utm_medium=social&utm_campaign=bio |
| Email newsletter |
https://yourwebsite.com/?utm_source=email&utm_medium=newsletter&utm_campaign=weekly |
| YouTube description |
https://yourwebsite.com/?utm_source=youtube&utm_medium=video&utm_campaign=description |
Use these links anywhere you share your website: Instagram, email, YouTube, Facebook, ads, or text messages.
Step 4: Track Leads
A lead is someone who does something important, like filling out a form, booking a call, or clicking a phone button.
Use lead tracking on a thank-you page or after someone completes a lead action.
<script
src="https://cdn.sark.app/sarkapp.js"
data-api-key="YOUR_API_KEY"
data-event-type="conversion"
data-event-id="lead">
</script>
After this works, your Leads number should go up in your stats.
Manual Lead Code
Use manual lead code when your website already has the main Sark App tracking script installed and you want to send a lead only after a specific action happens.
Good places to use it include a successful form callback, a booking confirmation step, a custom thank-you message, or any other place where your site knows the lead was completed.
<script>
SarkApp.send({
event_type: "conversion",
event_id: "lead",
});
</script>
This manual code does not replace the main tracking code. Install the main tracking code first, then run this code after the lead action succeeds.
Use event_type: "conversion" and event_id: "lead" when you want the event to count in the Leads column.
Manual Code Snippets
Use these snippets when your website already has the main Sark App tracking script installed and you want to send a specific lead or purchase event after your own code confirms the action happened.
Place the snippet inside the success callback, confirmation page, or completed-action step that matches the event you want to track.
Contact form submitted
Use this after a contact form is successfully submitted.
<script>
SarkApp.send({
event_type: "conversion",
event_id: "contact_form_submit",
});
</script>
Quote request submitted
Use this after someone requests a quote or estimate.
<script>
SarkApp.send({
event_type: "conversion",
event_id: "quote_request",
});
</script>
Call booking completed
Use this after someone books a call, consultation, or appointment.
<script>
SarkApp.send({
event_type: "conversion",
event_id: "book_call",
});
</script>
Purchase completed
Use this after an order or paid signup is confirmed.
<script>
SarkApp.send({
event_type: "conversion",
event_id: "purchase",
value: 100,
currency: "USD",
});
</script>
Checkout completed
Use this when the checkout process is completed and the customer reaches a confirmation step.
<script>
SarkApp.send({
event_type: "conversion",
event_id: "checkout_complete",
value: 100,
currency: "USD",
});
</script>
Order completed with order ID
Use this when you have an order ID available and want the event to include order context.
<script>
SarkApp.send({
event_type: "conversion",
event_id: "order_complete",
value: 100,
currency: "USD",
order_id: "ORD-1001",
});
</script>
Purchase with customer and order context
Use this when you want the purchase event to include both order and customer IDs.
<script>
SarkApp.send({
event_type: "conversion",
event_id: "purchase",
value: 100,
currency: "USD",
order_id: "ORD-1001",
customer_id: "CUS-1001",
});
</script>
Change value, currency, order_id, and customer_id to match the real order or customer data from your website.
Step 5: Track Sales
A sale is when someone buys from you. Put sale tracking on your order confirmation page or thank-you page.
<script
src="https://cdn.sark.app/sarkapp.js"
data-api-key="YOUR_API_KEY"
data-event-type="conversion"
data-event-id="purchase"
data-value="100"
data-currency="USD">
</script>
Change data-value to the sale amount you want to track.
Step 6: Understand Your Stats
- Visits: people who came to your website.
- Leads: people who completed a lead action.
- Sales: people who purchased.
- Revenue: money tracked from sales.
- Source: where the visitor came from, like Instagram, email, Google, or YouTube.
If you see visits but no leads or sales, your visit tracking is working. The next step is to add lead or sale tracking.
Step 7: Share A Dashboard
Public Share lets you send a view-only dashboard to your team or clients. They can see the stats you allow, but they cannot control your account.
- Go to Sites.
- Open Stats for a site.
- Open Public Share.
- Create a link.
- Send the link to your team or client.
Troubleshooting
I see zero visits. What should I check?
- Make sure the code came from Sites -> Options -> Install.
- Make sure the code is on your website.
- Open your website in a browser after installing the code.
- Wait a few minutes, then check Sark App again.
Where do I paste the code?
Put it before the closing </body> tag on your website. If you use a website builder, look for a place called Custom Code, Header/Footer Code, Tracking Code, or Scripts.
How do I know Instagram or email traffic is working?
Use a link with utm_source. Example: https://yourwebsite.com/?utm_source=instagram.
My conversions are not showing.
Visits and conversions use different code. If visits are showing but leads or sales are not, add the lead or sale tracking code to the right page.