Skip to main content

MultipleSubdomains

Example

If your landing page is mysite.com and your confirmation page is checkout.mysite.com, you should enable Rokt’s landing page tag to store the Rokt ID as a first-party cookie that can be accessed across subdomains.

Add the folowing code to the <head> on your landing page:


<script src="https://apps.rokt.com/integrations/referral-tag/referral-tag.js" data-fp-domain="your_base_domain" async></script>

Was this article helpful?