Support the ongoing development of Laravel.io →
posted 10 years ago
Input
Last updated 2 years ago.
0

Probably /#affiliate_id is appended on client side (es. via javascript or link or emberjs).

With javascript you can get the last segment of the url using:

var lastSegment = window.location.href.split("/").pop();

Then you can send 'lastSegment' to the server via ajax.

Last updated 2 years ago.
0

Thanks very much for your help!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

sqweets sqweets Joined 6 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.