Site Asset Injection

SEO Included

Custom files (verification files / ads.txt) + custom code (head/body injection, the prerequisite for GA4)

Place custom files and inject custom code to meet website verification and third-party analytics needs.

What problem it solves

Promotion often brings two types of needs: first, letting a platform verify site ownership, which requires placing a specified file; second, integrating third-party analytics or customer service tools, which requires adding a piece of code to pages. Originally there was nowhere in the documentation to do these two things, so you could only ask someone to modify code, which was very passive.

Key features

  • Custom files: Upload verification files required by platforms and serve them at specified paths.
  • Common verification and advertising files: Supports site verification files and advertising-related declaration files.
  • Custom code: Inject code at specified page locations for integrating analytics and other third-party tools.
  • Foundation for analytics: A prerequisite for integrating visit analytics.

How to use

  1. Go to the "Plugins" group on the left side of the admin panel and open the "Custom Files" page.
  2. Upload the verification file as required by the platform and confirm it passes platform verification.
  3. If you need to integrate third-party tools, open the "Custom Code" page.
  4. Paste the code to be injected into the corresponding location and save.
  5. Refresh the storefront page and confirm the injected code has taken effect and the page displays normally.

Who it's for

Sites that need site verification or integration with third-party analytics or customer service tools.

Notes

Injected code directly affects storefront pages. It is recommended to paste only code from trusted sources and confirm the page is normal on the storefront after saving.