Title: parameter forwarding (google analytics sessions)
Last modified: April 9, 2017

---

# parameter forwarding (google analytics sessions)

 *  Resolved [balintk](https://wordpress.org/support/users/balintk/)
 * (@balintk)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parameter-forwarding-google-analytics-sessions/)
 * Hello,
 * so I noticed that pretty link does something weird when it comes to paramter 
   forwarding.
 * I set up cross domain tracking with google analytics (that links my domain and
   gumroad.com, the platform I use to sell my stuff). If I use the bare link, the
   session gets transferred fine (as I can see it on the appended userID in the 
   url).
 * If I put it behind a pretty link, it does not work, even though the parameter
   forwarding option is turned on. could you help me what am I missing?
 * here is a test page with examples.
 * [https://otevotnyelv.com/test45z3453z8/](https://otevotnyelv.com/test45z3453z8/)
 * Thank you!

Viewing 1 replies (of 1 total)

 *  Plugin Author [cartpauj](https://wordpress.org/support/users/cartpauj/)
 * (@cartpauj)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/parameter-forwarding-google-analytics-sessions/#post-9054331)
 * Google’s linker is failing to add the client id parameter to the shortened link.
   I doubt it follows through a redirect to see if it goes to the destination domain
   before adding the client id on the mouse click event. So my guess is only links
   that actually go direct to the destination domain are picked up by the linker
   script.
 * So you or a developer would need to implement the linker manually using the decorate
   method as explained here: [https://developers.google.com/analytics/devguides/collection/analyticsjs/linker#manually_adding_linker_parameters](https://developers.google.com/analytics/devguides/collection/analyticsjs/linker#manually_adding_linker_parameters)

Viewing 1 replies (of 1 total)

The topic ‘parameter forwarding (google analytics sessions)’ is closed to new replies.

 * ![](https://ps.w.org/pretty-link/assets/icon-256x256.png?rev=2503434)
 * [PrettyLinks - Affiliate Links, Link Branding, Link Tracking, Marketing and Stripe Payments Plugin](https://wordpress.org/plugins/pretty-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pretty-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pretty-link/)
 * [Active Topics](https://wordpress.org/support/plugin/pretty-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pretty-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pretty-link/reviews/)

## Tags

 * [cross-domain tracking](https://wordpress.org/support/topic-tag/cross-domain-tracking/)

 * 1 reply
 * 2 participants
 * Last reply from: [cartpauj](https://wordpress.org/support/users/cartpauj/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/parameter-forwarding-google-analytics-sessions/#post-9054331)
 * Status: resolved