Add URL parameter when end-user enters a particular experience

Avatar

Avatar
Validate 1
Level 2
Awakash
Level 2

Likes

8 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
Awakash
Level 2

Likes

8 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
Awakash
Level 2

26-10-2017

Hello,

I'd like to add a url parameter such as exp=4tabA (when user enters experience A) and exp=4tabB (when user enters experience B), etc. The goal is so I can differentiate between revenue made within experiences in my Drupal CMS reporting (not just Target reporting).

Any thoughts on doing this?

Regards,

Awakash

Replies

Avatar

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

192 likes

Total Posts

454 posts

Correct reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

192 likes

Total Posts

454 posts

Correct reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile
Amelia_Waliany
Employee

01-11-2017

Hi there and thanks for your question! The best way to do this is through response tokens which writes out the experience name to the page and then you can pick it up off the page to do whatever.

You'll need to refresh the page if you add a url parameter, but this may or may not work.

Avatar

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

203 likes

Total Posts

224 posts

Correct reply

91 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

203 likes

Total Posts

224 posts

Correct reply

91 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ryanr701
Employee

07-11-2017

Hi Awakash,

I'm guessing the page needs to load with the new parameter in order for your CMS to pick it up. If this is true you might need to use a redirect activity on top of your normal activity.

  • Activity 1 (redirector) send 50% of people to same URL with this query param exp=4tabA and the remaining 50% of people to same URL with this query param exp=4tabB appended.
  • Activity 2 contains the actual content changes for the 4tabB experience (assuming 4tabA is default and needs not content changes). You will need to use the entry page URL with the exp=4tabB included so people qualify for the activity appropriately.

This isn't ideal though. Redirects shouldn't be used in this manner in my opinion because they can add page load time to the end visitors. It would be preferable to find another way to send info to your CMS. As Amelia has mentioned you can use response tokens to return info about the activity/experience a visitor saw to the page. You just need a mechanism for capturing that and sending it to your CMS - maybe an image request or something similar could work.

Avatar

Avatar
Validate 1
Level 2
Awakash
Level 2

Likes

8 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
Awakash
Level 2

Likes

8 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
Awakash
Level 2

07-11-2017

Interesting, I'll have to give this a go! Thanks

Avatar

Avatar
Validate 1
Level 2
Awakash
Level 2

Likes

8 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
Awakash
Level 2

Likes

8 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
Awakash
Level 2

07-11-2017

Yes, this doesn't seem like a clean solution, so I'll start with the original response, thanks for your thoughts!