How to Install Personyze on Your Website (Shopify, Magento, WordPress, BigCommerce & More)

Install Personyze on Any Website or Platform

What happens after you add the tracking code? Personyze immediately starts tracking visits and page views so you can launch personalization, A/B tests, targeted banners, and more. Some features (like product/content recommendations or ABM) may need extra setup, but the Campaign Wizard walks you through each step end-to-end.

1) Get your Personyze tracking code (works with any CMS or Tag Manager)

  1. In Personyze, go to Account Settings → General → Tracker Settings.
  2. Click Get code for your domain and copy your unique snippet.
  3. Paste it as early as possible in the site’s <head> so it loads before your content. This prevents flicker and ensures personalization runs instantly on first paint.
Personyze tracker code placed at the top of the head
Paste the Personyze snippet high in the <head> for best performance (example editor view).

Prefer a Tag Manager? Use the same code with GTM, Adobe Launch, Tealium, or another TMS—just set it to fire as early as possible.


Shopify

You can install Personyze quickly on Shopify without relying on theme templates or third-party plugins.

  1. Install the Personyze app from the Shopify App Store and connect your account.
  2. Open Online Store → Themes → Customize, then select App embeds.
  3. Enable Personyze Tracker and enter your Account ID.
  4. Save and load your storefront—tracking starts right away.
Install Personyze app
Install the Personyze app in Shopify.
Shopify - Themes page
Open the Theme Editor for your live theme.
Enable Personyze App Embed
Enable the Personyze App Embed.
Enter Account ID in App Embed
Enter your Personyze Account ID.
Personyze Tracker Settings - Last activity
Confirm “Last activity” in Personyze after visiting your storefront.

WordPress

Manually add the code (no plugin needed):

  1. From your server/theme files, edit header.php in your active theme (or child theme).
  2. Paste the Personyze snippet high in <head>. Save and deploy.
Add Personyze script to WordPress header.php
Adding the snippet to header.php.

Tip: If your theme updates frequently, use a child theme so customizations persist through updates.

Magento (Adobe Commerce)

  1. Go to Content → Design → Configuration, choose your active theme, and click Edit.
  2. Open HTML Head (sometimes Other Settings → Scripts and Style Sheets), paste the Personyze code, and Save.
  3. Flush caches: System → Cache Management (or from CLI) so the change takes effect.

Note: Some stores use custom layouts or head blocks; place the snippet in the global layout that impacts all pages.

Google Tag Manager (no plugin)

If you’re already using GTM, add Personyze via a tag so you don’t touch templates:

  1. In GTM, click Add a new tag → choose Personyze Tracking (template) or Custom HTML.
  2. Enter your Personyze Account ID (template) or paste the script (Custom HTML).
  3. Trigger on All Pages with Page View (fire as early as possible). Publish.
GTM - Add new tag
GTM → Add a new tag.
GTM - Personyze template
Select the Personyze template (or use Custom HTML).
GTM - Enter Account ID
Enter your Account Number and domain.
Find account ID in Personyze
Where to find your Account ID in Personyze.
GTM - Trigger All Pages and publish
Trigger on All Pages; Page View.
GTM - Publish
Publish your container.

BigCommerce

Add the Personyze snippet globally using BigCommerce’s Script Manager:

  1. In BigCommerce admin, go to Storefront → Script Manager.
  2. Click Create a Script.
  3. Name it “Personyze”, set Location = Head, Load Method = Script, apply to All pages, and paste your code.
  4. Save.
BigCommerce - Script Manager example (Create a script)
Script Manager → Create a script.
BigCommerce - Script details
Place the snippet in the Head and set scope to All pages.

Drupal (8/9/10/11)

Inject the Personyze snippet directly into your theme’s base HTML template so it runs site-wide:

  1. Edit your active theme (or subtheme) file: themes/your_theme/templates/html.html.twig.
  2. Paste the snippet high inside the document <head> block.
  3. Clear caches (Configuration → Development → Performance → Clear all caches, or run drush cr).

Tip: Use a subtheme so updates don’t overwrite your change. See Drupal’s Twig theming docs if you’re new to templates.

Joomla

  1. Go to Extensions → Templates → Templates, choose your site template, then click index.php.
  2. Paste the Personyze code high in the template <head>. Save.
Joomla Template Editor
Joomla Template Editor (edit your template’s index.php and add the snippet in <head>).

Wix

Use Wix’s built-in Custom Code to inject Personyze into the <head>:

  1. In the Wix Editor, open Settings → Custom Code.
  2. Click + Add Custom Code, paste the Personyze snippet, set Place code in: Head, and choose to load on All pages.
  3. Save and publish.

Squarespace (7.1)

  1. Go to Settings → Developer Tools → Code Injection.
  2. Paste the Personyze snippet into Header to inject it into the global <head>.
  3. Save.

Note: For a single landing page, open the page’s Settings → Advanced and use Page Header Code Injection (site-wide still recommended).


Single-Page Apps (React, Vue, Angular)

Enable SPA tracking so Personyze responds to client-side route changes:

  1. In Personyze, open Tracker Settings and toggle Single-Page Application to ON.
  2. Choose what constitutes a new “page” (path / query / fragment).
Personyze SPA tracker setting
SPA tracking in Personyze.

Verify the installation

  1. Personyze → Tracker Settings: check the domain’s Last activity timestamp after you load your site.
  2. Browser DevTools → Network: reload your page and filter for personyze requests (or your account ID). You should see the tracking script load.
  3. Run a quick test campaign: Create a tiny visual change (e.g., add a “TEST” badge for your own IP) and preview it with the Personyze QA simulator to confirm it executes.
Personyze quick QA simulator example
Use the QA simulator to validate that actions run.
Need help? Reach out to Personyze Support and we’ll sanity-check your install and first campaign.