Difference between revisions of "Deep Linking"
m |
|||
Line 24: | Line 24: | ||
http://join.example.com/track/MjozOjE/?extra_var=1234 | http://join.example.com/track/MjozOjE/?extra_var=1234 | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | If you do not wish to have deep linking affect the path being used by the destination site, you can add a '?' to the end of the URL for the site. For example, if you have a site or tour that points to: | ||
+ | |||
+ | <pre> | ||
+ | http://example.com/ | ||
+ | </pre> | ||
+ | |||
+ | And then if someone uses the following | ||
+ | |||
+ | <pre> | ||
+ | http://join.example.com/track/MjozOjE/tour1.html | ||
+ | </pre> | ||
+ | |||
+ | And you do not want <nowiki>http://example.com/tour1.html</nowiki> to be the destination. You would setup your URL for the tour as: | ||
+ | |||
+ | <pre> | ||
+ | http://example.com/? | ||
+ | </pre> | ||
+ | |||
+ | And instead it will append path=tour.html to the URL and will not add the /tour1.html to the path. | ||
[[Category:Also NATS4 Article]] | [[Category:Also NATS4 Article]] |
Revision as of 13:28, 16 November 2010
NATS 3
|
---|
Affiliates can link directly to a pre-join page by appending /join to a linkcode. For example:
http://linkdomain/track/MjozOjE/join
Affiliates can link to any other page on your site by appending a forward-slash and a relative URL to the link code. For example, using the following linkcode to link to http://example.com/tour1.html:
http://join.example.com/track/MjozOjE/tour1.html
Affiliates can manipulate the query string too. For example, the affiliate can pass the variable, extra_var=1234 to a tour by appending a question mark and the variable assignment to their linkcode:
http://join.example.com/track/MjozOjE/?extra_var=1234
If you do not wish to have deep linking affect the path being used by the destination site, you can add a '?' to the end of the URL for the site. For example, if you have a site or tour that points to:
http://example.com/
And then if someone uses the following
http://join.example.com/track/MjozOjE/tour1.html
And you do not want http://example.com/tour1.html to be the destination. You would setup your URL for the tour as:
http://example.com/?
And instead it will append path=tour.html to the URL and will not add the /tour1.html to the path.