Overview
The website visitors feature enables you to track the accounts that have visited your websites. This means you can uncover the names of companies that have generated activity on the domains you choose to track and filter them based on when they visited and how engaged they are in the buying process.
Using Apollo to track your website visitors reduces the need for your sales team to coordinate with your own IT and marketing teams to understand whether prospects are actively engaged with your websites. You can also use more search filters to further reduce the noise in your visitors data and target only your ideal prospects based on company information.
Check out the following sections to learn more about website visitor tracking.
Set Up Tracking
Before You Begin
Apollo admin can complete the instructions provided in this article. Technical skills are not required.
The instructions in the Add the JS Snippet to Your Website section require either knowledge of HTML and a front-end language like JavaScript, along with access to your website's codebase, or access to a tool such as Google Tag Manager. If you or your team do not have access or the technical skills needed, work with your organization to arrange the necessary help.
Add Website Domains
To add the websites that you want to track and find the Apollo JavaScript snippet:
- Launch Apollo and click Website visitors.
Alternatively, click Settings Ideal customer profile Website visitors. - Click Add website.
- Enter the URL for the website where you want to track traffic. You can also add subdomains to track.
(Optional) For the domain or subdomain you added, open the Advanced Intent Settings drop-down to set the scoring criteria for your website visitors. Your scoring criteria establishes how important visits to specific website pages are to you, and helps you identify accounts showing a strong interest in your product when viewing your website visitor data.
For example, if you believe that visits to your pricing page represent a strong interest in your product, you might want to set Page URL to your pricing page's URL and Intent toHigh.
- Click Save.
- In the Apollo Script section, click Copy Code. Do not attempt to copy or type the code manually. If you're not the one adding the code to your website, send the copied JavaScript snippet to the personnel responsible.
If you want to add more domains to track, click Add domain and repeat this process.
Otherwise, you or your designated personnel can proceed with adding the snippet to your website.
Add the JS Snippet to Your Website
There are 2 options for adding the JS snippet to your website: adding it directly to your website's code, or using Google Tag Manager.
Direct
Add the JavaScript snippet generated in Apollo to your website's code.
The snippet can either be inserted between the head tags of a website's HTML, or in the code for a specific page you want to track. The snippet should be included for every page that you want to track.
With the snippet added to your website, proceed with testing the connection.
Google Tag Manager
If you have never used Google Tag Manager and need help getting started, please refer to Google's Tag Manager documentation.
To utilize Google Tag Manager to add the JavaScript snippet generated in Apollo:
- Go to Google Tag Manager and log in to your account. Then, select the workspace that you want to use to manage this tag.
- Click Tags New to add a new tag.
- Click the pencil icon to edit the tag configuration, then select Custom HTML for the tag type.
- Paste the Apollo JS snippet into the HTML section.
- Click the pencil icon to edit the tag trigger, then choose which pages on your website should trigger the tag. Select All Pages to trigger the tag across your website. Then, click Save.
- To publish the container, click Submit, then click Publish.
Your tag is now added to Google Tag Manager. With the snippet added to your website, proceed with testing the connection.
Test the Connection
With the JS snippet added to your website, you should test the connection to ensure that Apollo is able to capture and analyze the traffic from your added domain.
To test the connection:
- Launch Apollo and click Website visitors > Settings.
- Click Test connection to test all of your websites. If a domain's connection is good, the status will be
Active.
If your connection is successful, it takes up to 24 hours for data to reflect in Apollo. Then, you can start to use visitor data as accounts generate activity on your website.
Troubleshoot the Connection
You can also manually confirm that the JavaScript snippet has been successfully installed by:
- Going to the website where the snippet was added.
- Accessing the inspect tools in your browser. For Google Chrome, right-click the web page, then click Inspect
- Go to the Sources tab. Then, confirm that
assets.apollo.ioappears. If not, the snippet has not been installed correctly.
- Go to the Network tab and reload the web page. Then, search for
track_request. If the snippet was installed successfully, the status code will be204.
If the status code is 400, check the domain that was added in Apollo and the appId within the JavaScript snippet. It is likely that one or the other is wrong.
If the request does not appear in the Sources tab after reloading the page, check that the snippet has been installed in the correct place. For example, if you added the snippet directly to your website, the snippet should be placed inside the head tags, not the body tags.
Use Website Visitors Data
Check out Use Website Visitors Data to learn how to use website visitors data as a search filter, view visitor data as a dashboard, and build workflows using the website visitors filter.
Website visitor data may take up to 7 days to appear in your account.
Edit Domain Information or Deactivate Tracking
To edit the information for a website you are tracking or disable tracking entirely, launch Apollo and click Website visitors > Settings. Click Edit to edit website information, or click Delete to remove tracking for the domain.