If you're trying to track crossing from domainA.com to domainB.com, then neither session storage nor cookies would work for you because both can only be read/written from the same domain.
If you're trying to track crossing from subA.domainA.com to subB.domainA.com, then cross domain tracking is most...