Cross-domain Google Analytics Campaign Transposing

/ Published in: JavaScript
Save to your folder(s)

This script was written to allow transposing of utm_campaign, utm_source and utm_medium query parameters from the URL of a landing page link to all of the links on that page that re-directed to the primary domain where users would actually convert. This is highly useful when sending out email campaigns that link people to a landing page on a hosted service such as Unbounce and your conversion points exist on a different top-level domain as it will allow you to see the campaign, medium and source values on the top-level domain Google Analytics conversion reports, even though the visitor initially landed on a different top-level domain.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.