1 Reply Latest reply on Apr 14, 2013 8:12 PM by Sham HC

    Add Analytic Campaign code to Vanity URL redirect

    Tim Goodman Level 1

      Hi,

       

      I had this question regarding Campaign Codes in CQ5/AEM5.6

       

      If you create a Vanity URL, is it possible to add a Google Analytics Campaign code to the referred URL?

       

      e.g.

       

      If the user lands on http://mysite.com/myvanity

       

      Can this be configured to forward to something like

       

      http://mysite.com/content/mysite/en/landing/vanity_page_expanded.html?campaigncode=somethi ng

       

      BTW - I am assuming that the "something" is not dynamic, and will not be passed by the Dispatcher to the Publish server to preserve caching at the webserver.

       

      I expect that it is possible, by using a Map or similar - can someone please confirm my hypothesis?

       

      Thanks

      Tim