Universal การติดตาม

ติดตั้ง Hitsteps บน HTML หรือเว็บไซต์กำหนดเอง

เว็บไซต์ใดก็ใช้ Hitsteps ได้โดยเพิ่มโค้ดติดตาม ลงใน footer ร่วมหรือวางก่อนแท็กปิด body

ก่อนเริ่ม

Your full Hitsteps โค้ดติดตาม
เข้าถึงไฟล์เว็บไซต์หรือ editor เทมเพลต ของ CMS
ส่วนท้ายร่วม เค้าโครง หรือพื้นที่แทรกแท็กร่วม

Install guide

ตั้งค่าด้วยตนเอง

1

Copy the full โค้ดติดตาม

In Hitsteps, open your site settings and copy the full JavaScript โค้ดติดตาม.

2

หาตำแหน่งเค้าโครงร่วม

มองหา footer.php, footer.asp, ส่วนท้ายร่วม เค้าโครงเทมเพลต หรือไฟล์คล้ายกันที่แสดงบนทุกหน้า

3

Paste before closing body

Paste the โค้ดติดตาม before the closing body แท็ก so it loads after your page content.

4

Upload and clear cache

Save and upload your changes, then clear any website, CDN, or เทมเพลต cache.

5

Verify live ผู้เยี่ยมชม

Open the website and watch the Hitsteps แดชบอร์ด for your current การเข้าชม.

ควรรู้

  • If the site has no shared footer, add the โค้ด to each HTML page.
  • ใช้โค้ดติดตามแบบเต็ม ไม่ใช่เฉพาะ API key สำหรับการติดตั้งด้วยตนเอง
  • Place only one copy of the Hitsteps โค้ด on each page.