Skip to main content
All CollectionsGetting startedBasics
Setting up Factors SDK on your site
Setting up Factors SDK on your site
Updated over 10 months ago

Welcome to Factors! We're glad you're here.

To get started, please place the Factors SDK on your website. This straightforward process enables key features like identifying high-intent accounts visiting your site and analyzing visitor behavior.

Ready to begin? Follow the instructions below.


3 Ways to bring website data to Factors

Factors provides several options for integrating your website data. Select the method that best fits your technical capabilities and preferences:

1. Google Tag Manager (GTM) Integration [Most popular]

<a href="https://downloads.intercomcdn.com/i/o/882888793/eebe761ba7fec7ef61327ed9/image.png?expires=1734912000&amp;signature=9ebcba8bad1d65757b135b234f9b4f3a438998083b2c27dfabe690517c2e688f&amp;req=fCglHsF2mohcFb4X1HO4gXk%2BOJGQ2RMX0KCR3kVQ7Z6t8qXTNo%2BWOS7gpdRg%0A" target="_blank" rel="nofollow noopener noreferrer">https://downloads.intercomcdn.com/i/o/882888793/eebe761ba7fec7ef61327ed9/image.png</a>
  • Add the Factors SDK directly through GTM, eliminating the need for coding.

  • This option is perfect for users familiar with GTM and facing limited web development bandwidth.

  • While GTM integration is quick, you'll need one additional step to define which pages trigger Factor’s account identification so that it can help you to focus on your most relevant visitors.

2. Manual SDK Placement

<a href="https://downloads.intercomcdn.com/i/o/882889636/4eceb92cbc2a4bc3460f4ece/image.png?expires=1734912000&amp;signature=8ecbac54affd4d1b06fa5693d54ecb9c15c6e10b87f06d17dec0e443170c5fcc&amp;req=fCglHsF3m4JZFb4X1HO4gbjxFjBNbzKNa2Yn%2Ff8jUzRHVPjfu5J42BV0w2vf%0A" target="_blank" rel="nofollow noopener noreferrer">https://downloads.intercomcdn.com/i/o/882889636/4eceb92cbc2a4bc3460f4ece/image.png</a>
  • Manually add the Factors SDK code to your website's header section (or specific web pages) for complete control over where account identification occurs.

  • This option demands some technical knowledge for code implementation.

3. Customer Data Platform (CDP) Integration

<a href="https://downloads.intercomcdn.com/i/o/882892265/7a6f0991f73c156c2554319a/Screenshot+2023-11-14+at+6.57.22+AM.jpg?expires=1734912000&amp;signature=a78aabcd2df7e63f5035b422c9bb6150f4b6bef9699414779930772b0894fd8b&amp;req=fCglHsB8n4daFb4X1HO4gVgG4eaV41tOBXiLTogNSTvJ2cx6E75sGLOjk3cd%0A" target="_blank" rel="nofollow noopener noreferrer">https://downloads.intercomcdn.com/i/o/882892265/7a6f0991f73c156c2554319a/Screenshot+2023-11-14+at+6.57.22+AM.jpg</a>
  • Leverage your existing CDP to seamlessly send website data to Factors, minimizing manual setup.

  • Simply copy and paste your CDP's API key into Factors for a straightforward integration.

  • One additional step is needed to define which pages trigger account identification.

FAQs

Why do I need to place Factor’s SDK in the <head> section on my website?

Placing the SDK in the <head> is essential for the following:

  • To ensure that you don’t miss out on website visitors and users, and associated UTM parameters leading to incomplete tracking.

  • To ensure you don’t miss out on any form fills not getting captured. Up to 10% of total form fills might get lost by not placing the SDK correctly.

  • To ensure SDK doesn’t take long to load. The SDK can take up to 8 seconds due to other async marketing tags if it is not placed in the <head> section.

We are aware that it is generally advised to not place marketing tags in the <head> section due to concerns about page performance. But unlike other marketing tags, Factors SDK is extremely lightweight (22 KBs), asynchronous and doesn’t affect your website performance at all.

How is Factors SDK different from the usual marketing tags?

We care about your page performance and SEO efforts. This is why we ensure there is no effect on page load time or website performance.

  • Factors SDK is asynchronous and doesn't impact the loading of other content or tags on the website.

  • The SDK size is just 22Kbs, making it one of the lightest marketing tags available.

  • The load time of Factors SDK is less than 10ms for the first-time load and less than 5ms for consecutive loads.

Our engineering team has analyzed performance for several enterprise clients with millions of website visitors per month and consistently proved that the SDK doesn't impact website performance, load time, or SEO.

How is Factors SDK better than Google Analytics SDK/tag?

  1. Unlike GA, Factors' SDK captures page time spent and avg. session duration metric accurately. Factors' SDK looks for active engagement on the webpage like cursor movements to track time spent and hence doesn't consider idle time on the web page as part of the time spent.

  2. Unlike GA, Factors doesn't sample data in any way for higher data volume. Hence you have access to the accurate nos inside Factors.

Which pages should I place the Factors SDK on?

On any webpage (owned by your organisation) where your prospects interact with your brand and content or fills out a form:

  • Website

  • Blogs, webinars, case studies or any other resource pages including the ones hosted on 3rd party CMS like WordPress, Hubspot Blogs, etc.

  • Sign up or login pages including the one hosted on the product app.

Places where you shouldn’t place the SDK include:

  • Pages where lead gen, content forms, and any type of inbound forms are hosted.

  • Landing pages including the ones hosted on 3rd party CMS like WordPress, Hubspot Blogs, etc or landing page builders like Instapage, Wix, Leadpages, etc.

How long does it take for the Factors Website SDK data to show data after placing the SDK successfully?

After placing the SDK successfully in the <head> section of your website, we will start pulling in data immediately and your reports and dashboards will start getting populated with data within 2-10 mins.

PS: Still unsure where to integrate Factors? Don't worry; we're here to help! Email us at help@factors.app

Did this answer your question?