Linker

This extension allows you to automatically change the target of your existing outgoing links; it also allows you to automatically link words to a defined URL and track clicks and impressions.
How To Use
Installation
Using this extension is very easy. Just install it from Pagekit's marketplace.
Configuration
After enabling the extension, you can click the "Linker" icon in your backend-menu.
You can switch over to the settings screen to configure the following options:
- Default values
- Statistic collection
- Excluded tags for auto string detection
Once you defined your default values:
- Target
- Nofollow value
- Redirection type
- Link class
these values are used as default values for creating new targets.
Adding targets
After setting up your default values you may add a new target. A target is the property of your new target-URL (e.g. amazon.com/your-product).
Each target can have a list of markers. A marker defines the key, that should be used to call the link-replacement procedure itself.
A marker can have two different types:
- URL: Every link that matches the marker's URL will be replaced by the target's URL.
- String: Every string that matches the marker's string value will by linked to the target's URL.
Example
You create a new target called My Amazon Product. This target's URL is https://www.amazon.de//ref=as_li_ss_tl?ie=UTF8&linkCode=ll2&tag=myid-21&linkId=5d29fd386bfdc533c526a02c8058ce4f .
You now want to replace all links, that are having the href
-value "http://amazon.com" with this URL. You also want to link all strings on your page, that are matching the words "My Product" to this URL.
In this case you need two markers:
- Type: URL - Value: http://amazon.com
- Type: String - Value: My Product
That's it. You now can get back to the target's configuration and choose, whether you want your target's URL to be masked (the generated link will be https://your-domain.com/linker/my-product) or not (the generated link will be https://www.amazon.de//ref=as_li_ss_tl?ie=UTF8&linkCode=ll2&tag=myid-21&linkId=5d29fd386bfdc533c526a02c8058ce4f) .
Please note: Click collection only works with enabled masking.
Once you publish your target, all links are replaced automatically.
- CMS
- Pagekit
How to fork a theme
Written by Abdulhalim on
spqr/toc updated
Written by Roman on
spqr/toc updated
Written by Nick Sbarounis on