[MAGNOLIA-3871] The redirects lose the parameters and so we cannot track the campaigns with analityc tools Created: 26/Oct/11  Updated: 03/Jan/12  Resolved: 03/Jan/12

Status: Closed
Project: Magnolia
Component/s: templating components
Affects Version/s: 4.4.2
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Santiago Fernandez de Cordoba Assignee: Ondrej Chytil
Resolution: Obsolete Votes: 0
Labels: analytics, google, parameters, redirect, sitecatalyst
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Jackrabbit 1.6.x (Bundle PM)


Issue Links:
duplicate
is duplicated by MAGNOLIA-3926 RedirectClientCallback should not los... Closed
relation
is related to MAGNOLIA-3842 Query String is not being passed thro... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

We are all the time creating redirects like http://www.leroymerlin.es/mycampaign , that redirect to other page inside with a longer URL.

The problem is that if we use the Google Analytics parameters (utm_campaign, etc...) they get lost when redirecting.

If the redirect looks like this:
http://www.leroymerlin.es/mycampaign

I need to use the parameters, and it looks like:
http://www.leroymerlin.es/mycampaign?utm_campaign=madera&utm_content=banner

But when the redirect redirects to the final URL, the parameters disappear:
http://www.leroymerlin.es/productos/armarios/verdes.html

The desired final URL should be
http://www.leroymerlin.es/productos/armarios/verdes.html?utm_campaign=madera&utm_content=banner

Thanks!



 Comments   
Comment by Magnolia International [ 10/Nov/11 ]

Hi,

It looks like you might want to implement a custom VirtualURIMapping implementation to handle url parameters. Of course, we'll also consider patches to the existing ones, if that makes more sense.

http://documentation.magnolia-cms.com/technical-guide/virtual-uri-mapping.html

Comment by Ondrej Chytil [ 03/Jan/12 ]

Fixed with MAGNOLIA-3926.

Generated at Mon Feb 12 03:50:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.