# Configure Tracking Tags

> Add your existing analytics and advertising tags to Lexsis storefront pages

Canonical URL: https://fa7e86e3d553:3005/tracking/installation

Tracking tags are configured per connected Shopify store and loaded on
published Lexsis storefront pages.

## Configure a tag

1. Open <AppLink to="trackingTags">Settings → Tracking tags</AppLink>.
2. Add the identifier for each provider you want Lexsis pages to load.
3. Leave a field empty when that provider is already loaded through another
   tag manager.
4. Save the settings.

Supported fields are:

| Provider | Expected value |
|---|---|
| Google Analytics 4 | `G-XXXXXXXXXX` |
| Google Tag Manager | `GTM-XXXXXXX` |
| Meta Pixel | A 6–20 digit Pixel ID |
| TikTok Pixel | An 8–32 character Pixel ID |
| Pinterest | An 8–20 digit Tag ID |
| Klaviyo | Your 5–12 character public API key |

Invalid identifiers are rejected before the settings are saved.

## Choose events

Product view and add-to-cart events are enabled by default. Begin checkout is
disabled by default to reduce the risk of counting a checkout twice when your
Shopify setup already reports it.

Only enable an event after checking how the same event is configured in your
existing theme, tag manager, or Shopify apps.

## Custom body markup

Use the custom body field for provider markup that is not covered by the
standard fields.

- Maximum size: 16 KB
- Script elements must be top-level
- Inline event handlers and unsafe embeds are rejected
- The markup applies only to Lexsis-published storefront pages

## Verify the setup

1. Open a published Lexsis page.
2. Use the provider's browser debugger or the browser Network panel.
3. Confirm the provider script loaded once.
4. Open a product page and verify the product-view event.
5. Add a product and verify the add-to-cart event.
6. If begin checkout is enabled, verify it is not also being sent by another
   browser tag.

Saved changes can take up to five minutes to appear on live pages.

## Related

- [Tracking Tags & Page Analytics](/tracking)
- [A/B Testing](/guides/ab-testing)
- [Analytics Tools](/tools/analytics)
