Appending URL with unique ID
-
Hi! I have an affiliate link that allows for one custom “source” field at the end, such as: https://www.example.com/?source=MyLandingpage
This doesn’t help me track where my conversions are coming from originally (to my site), i.e. if they are from social media, AdWords, organic, etc.
Is there a way (using JS/PHP?) to automatically and dynamically add, to the end of the URL, either:
1. A unique user ID, or
2. The referral domain/type?
3. Any such identifier from Google AnalyticsSo my url would be like https://www.example.com/?source=facebook for example.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Appending URL with unique ID’ is closed to new replies.