Documentation
Feedback
Guides

Release Notes
Release Notes
Fixed
Persist campaign data throughout a user session
October, 11

{"base64":"  ","img":{"width":81,"height":20,"type":"svg","mime":"image/svg+xml","wUnits":"px","hUnits":"px","length":931,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/persist-campaign-data-throughout-a-user-session-0.png"}}

To persist campaign data throughout a user session and avoid providing inconsistent campaign data to Google Analytics, you must add the variable OriginalLocation to your Google Tag Manager (GTM) container and configure your store’s Google Analytics tags.

Learn how to add the variable OriginalLocation to your GTM container and configure your store’s Google Analytics tags in the Setting up Google Tag Manager documentation.

Was this helpful?
Yes
No
On this page