Skip to main content

How to Add the Website Visitors Script to a Website via cPanel (File Manager)

Please note that visitor tracking is currently only available for website traffic from the US. Here are the steps for adding the Website Visitors script to a website on cPanel:

Step 1: Get Pixel from Instantly

  • Go to the Website Visitors section in Instantly

  • Then navigate to "Setup". Click the "Add New" button.

  • Enter your domain. Click "Get the Pixel"

  • Copy the pixel code

Step 2: Paste Pixel into cPanel

  • Log in to your cPanel account and click "File Manager". Open the "public_html" folder.

  • Start editing the home page HTML file. It can also be an index.html if you don't have a home page.

  • Copy the script from Instantly and add it in the header (after the <head> tag). Save the changes.

Step 3: Verify Status

Go back to Instantly and test the script. You should see the confirmation message when you test the script.

  • Test status: When installed properly, the status will show "Successful," and you’ll receive an alert confirming correct installation when testing the code.

  • Actions

    • Test code installation

    • Click </> to see the pixel code

    • Delete code: Delete the configured website

Now you can proceed to create a Slack notification or a filtered view for your site visitors.

Did this answer your question?